PS: The g modifier is unnecessary in your subsitution
In reply to Re: regex problem by Utilitarian in thread regex problem by pinnacle