javascript - js regular match specific string
扔个三星炸死你
扔个三星炸死你 2017-07-05 11:05:43
0
2
918

How to use js regular expression to match a text that contains   without ";" after it? ;I want to replace all " " in a paragraph with  ";"

扔个三星炸死你
扔个三星炸死你

reply all(2)
滿天的星座

Is this so?

" sdadsad&nbsp呵呵呵".replace(/(&nbsp)(?!;)/g,';')

Reference: http://www.cnblogs.com/deerch...

世界只因有你
"&nbsp &nbsp+;sdadsad&nbsp呵呵呵".replace(/(&nbsp)(?!;)/g,';')
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template