Changed text search to regex