cleanup regex