|
Re: regexp find and seperate custom tags in a string
. matches any character apart from new line and carriage return.
use this instead: [\s\S] - which means any whitespace and non-whitespace character (everything)
On a separate note, I know "g" is global and "i" is ignore case, but what's the "m" for? (in /mg at the end of the regexp)
|