【发布时间】:2016-10-09 00:59:58
【问题描述】:
我有这个正则表达式:
</title>[\s]*<description[^>]*>(.*?)<img
接受字符串:
<title>Insane price of last Ford Falcon V8s</title>
<description><![CDATA[FORD dealers are charging a staggering $30,000 more than the recommended retail price — up from $60,000 to $90,000 — for the final Falcon V8 sedans as buyers try to secure a future classic.<img alt="" border="0" src="https://pixel.wp.com/b.gif?host=www.couriermail.com.au&blog=87782261&post=1205849&subd=couriermailatnewscorpau&ref=&feed=1" width="1" height="1" />]]></description>
如何编辑此正则表达式以同时删除 <![CDATA[
【问题讨论】: