Regex to match words or phrases in string but NOT match if part of a URL or inside tags. (php)

后端 未结 7 1179
终归单人心
终归单人心 2020-12-06 23:20

I am aware that regex is not ideal for use with HTML strings and I have looked at the PHP Simple HTML DOM Parser but still believe this is the way to go. All the HTML tags w

7条回答
提交回复
热议问题