Originally Posted By: Tomao
Originally Posted By: colt45
where did you find that /g switch from?
The /g is a regex modifier. You can learn about it via any online search engines or local book stores to find out what it means and does. The /g modifier simply makes the regex match something you're after globally or in a "greedy" manner. Without using it, the regex will only match the first string that it finds and stops.


Noted smile

Thanks ..