[thelist] IE RegExp Assistance

Peter Leing pleing at Cenlar.com
Thu Dec 15 15:30:43 CST 2005


Hi all. I'm having an issue with IE and a regular expression to split
text for a spellchecker. I'm using the expression (\s+) on the sentence
"This is my sentence." and I get a return of "This, ,is, ,my,
,sentence." from Firefox and a return of "This,is,my,sentence." from IE.
Is there an expression I can use to get IE to keep the spaces?

Thanks,

Peter Leing


******************************************************************************
NOTICE:  The information contained in this message is intended for the 
addressess(s) only and may be confidential, proprietary, or legally
privileged.  If you have received this message in error or there are any
problems with the transmission, please immediately notify us by return
e-mail.  The unauthorized use, disclosure, copying, or alteration of this
message is strictly forbidden.  The sender will not be liable for any 
damages arising from alteration of the contents of this message by a 
third-party or as a result of any virus being transmitted.  This notice
is automatically appended to each e-mail message transmitted from the
sender's e-mail domain.



More information about the thelist mailing list