change reg for search text