I need a regular expression that will match on all terms in a set of search terms. If the user types \"bat sun\" then I need to match any text entries that have words starting w
Probably a regex like below if you really want to use regex:
(?=.*\bsun)(?=.*\bbat).*
Of course you want to make it ignore case.