Use regex to search data