Remove mexp from core and string search.