How to use js regular expression to match a text that contains   without ";" after it? ;I want to replace all " " in a paragraph with  ";"
Is this so?
" sdadsad 呵呵呵".replace(/( )(?!;)/g,';')
Reference: http://www.cnblogs.com/deerch...
"   +;sdadsad 呵呵呵".replace(/( )(?!;)/g,';')
Is this so?
Reference: http://www.cnblogs.com/deerch...