Regex find word in the string - Stack Overflow
stackoverflow.com › questions › 9348326Feb 19, 2012 · Word boundary "pass" Word boundary; Single char; End of input; which I would not expect to match "high pass h3" at all. The regular expression: pass (no metacharacters) will match any string containing "pass" (but then so would a "find string in string" function, and this would probably be quicker without the complexities of a regex).