remove semi colon from regex