Javascript RegExp Multiline
RJM Programming - February, 2019
Selection Toggle of
above
above or below
...
Edit This (to var
iable
x) ...
Effect of RegExp Multiline ...
x
.replace(/^\s+|\s+$/gm,'')
Effect of RegExp no Multiline ...
x
.replace(/^\s+|\s+$/g,'')
The rain In Spain Falls mainly On the plain
The rain In Spain Falls mainly On the plain