Allowing New Line Characters In Javascript Regex
I am using live validation on my site (from livevalidation.com), I have a text area where I need to allow new line / line feed / return characters, but despite my best efforts I a
Solution 1:
The /m modifier allows the pattern to match across multiple lines, where you have /i at the end of your pattern try /mi instead
Post a Comment for "Allowing New Line Characters In Javascript Regex"