我们的网站上的文本编辑器出现问题,导致网址加倍。因此,例如,文本字段可能看上去包含:正则表达式在数据库字段中查找错误的URL
This is a description for a media item, and here in <a href="http://www.example.com/apage.htmlhttp://www.example.com/apage.html">a link</a>.
所以几乎我需要一个正则表达式来检测以http开始,有一个结束引号之前另一HTTP,如“http://www.example.com/apage.htmlhttp://www.example.com/apage.html”
你只想要一个匹配或想要捕获其中的一个? – 2009-09-25 16:59:18