deldzogeobhed
New Member
I figured out how to check an OR case, \[code\]preg_match( "/(word1|word2|word3)/i", $string );\[/code\]. What I can't figure out is how to match an AND case. I want to check that the string contains ALL the terms (case-insensitive).