So, to drive it home, this is not good:
- new RegExp("[\\n\\r]+", "gim")
And should be replaced with:
- new RegExp("[\\n\\r]+", "gi")
Looking For A New Job?
- Mobile Application Developer at Xorbia Tickets
- 7 Year + Lead ColdFusion Developer at Atprime Media Services
- Full Time ColdFusion Developer Needed at InterCoastal Net Designs
- Developer-focused job platform at Honeypot
Thank you for this information. I tried it and you were right on both issues.
This has been very helpful. :)