Regex search working (Optimal?)