in reply to Remove '>' from email

By the way, the g modifier is useless (but harmless) in your code since ^ can only match at one spot.