我试图从[attname src =“http://example.org”]提取src属性somecontent [attname src =“http://www.example.com” ]正则表达式 - PHP中的分隔符问题
我现在拥有的一切:
preg_match_all('#attname src=".*[^"]#', $buffer, $bufferarr);
但是它不工作 - 有后第二"
没有停止,什么样的结果在:attname src="http://example.org"] somecontent [attname src="http://www.example.com
谢谢,它工作得很好。 – Paul 2010-12-14 20:28:40