Added erase with regex