moving regular exp into free text search