标题: 请各位编程高手指点 [打印本页] 作者: 啊当 时间: 2013-8-2 14:24 标题: 请各位编程高手指点 (
" If he will help us, so much the better. ",
"If he will help us, so much the better. "
)
以上红字部分
如何用正则表达式抽出If he will help us, so much the better.这句话?
注意,这句话只是个例子,需要考虑这句话里也会带引号和括号的情况作者: 牛clear 时间: 2013-8-2 14:38
可以把里面的括号,引号 replace 掉先作者: asfman 时间: 2013-8-2 16:48
你说的太笼统了,别人也不好解决,还有说下用什么语言也好写个demo作者: tangsa 时间: 2013-8-2 16:58
楼主是想去掉每行字符串空白?作者: 啊当 时间: 2013-8-2 17:02