作者yttytt (痞子猫熊...)
看板RegExp
标题[问题] 该如何写出html换行的文字
时间Tue Oct 2 09:45:00 2012
/*
听说注明使用的语言、环境
*
问题有可能较容易被解决...
*/
<img src="images/logo.gif" /></a></div>
<div class="counter" style="width: 61px; text-align: center;">
252公车</div>
因为碰到html有换行
请问该如何用正规法,抓出252公车这段文字呢?
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 192.192.90.200
1F:→ ousapas:<div .+?>([\w\W]+?)</div> 10/03 12:11
2F:→ kilva:<div .+?>\s*([\w\W]+?)\s*</div> 10/03 21:19