Search and replace using PEG