Remove unneeded regex part