Regex for string contains? - Stack Overflow
https://stackoverflow.com/questions/499906414.02.2011 · The above regex will check for the literal string "Test" being found somewhere within it. Show activity on this post. If you want to check for it as a single, full word, it's \bTest\b, with appropriate flags for case insensitivity if desired and delimiters for your programming language. \b represents a "word boundary", that is, a point between ...