This topic created in 4688 days ago, the information mentioned may be changed or developed.
RT。
斜杠来,斜杠去的,搞的我都晕了。也不知道该用什么了。
 |
|
1
davepkxxx Sep 17, 2013 1
'111<br/>222<br/>333'.replace(/<br\/>/g, '\n')
|
 |
|
2
irgil Sep 17, 2013
'/\[111(.*)222(.*)333\]/'
正则这样写,然后替换就行了. 如果是php的话一句话我知道怎么完成,js的函数不太清除 php:str_replace('<br/>','\n','[111<br/>222<br/>333]');
|
 |
|
3
jianghu52 Sep 17, 2013
哎,我才发现,我想复杂了。各种替换/不成功。
|