3
我在數據庫中像這樣的文本行:PHP和MySQL - 的preg_match和查詢
row1 -> text text!? sometext..!
row2 -> text!! sometext !whatever
row3 -> sometext !
row4 -> !this is sometext sometext
一樣的preg_match,什麼是查詢調用包含行(字)和!
的結果,我想是這樣的:
text!! sometext !whatever
!this is sometext sometext
任何人都可以幫忙嗎?
非常感謝你!
你的第二個結果不包含! ..所以你的行應該包含!sometext和!或只有一個? – rauschen
你好,這可能意味着!你好!或者什麼,之後的任何文字! (沒有空格) –