Detecting a (naughty or nice) URL or link in a text string

后端 未结 0 1032
情话喂你
情话喂你 2020-12-23 05:09

How can I detect (with regular expressions or heuristics) a web site link in a string of text such as a comment?

The purpose is to prevent spam. HT

相关标签:
回答
  • 消灭零回复
提交回复
热议问题