Using .search to support regex