Modify regular expression search