updating regex for searches