Change regex to regexp