Hellothe literal text Hello (case sensitive) \sany whitespace character
mythe literal text my (case sensitive) \sany whitespace character
namethe literal text name (case sensitive) \sany whitespace character
isthe literal text is (case sensitive) \sany whitespace character
Non-Capturing Group(?:(?!\bjohn\b).)*? *?repeats the group contents below any number of times:
Negative Lookahead(?!\bjohn\b) \ban ASCII word boundary
johnthe literal text john (case sensitive) \ban ASCII word boundary
.any character (except for line terminators)
\sany whitespace character
andthe literal text and (case sensitive) \sany whitespace character
Ithe literal I (7310 / 1118 / 4916) (case sensitive)
\sany whitespace character
likethe literal text like (case sensitive) \sany whitespace character
pizzathe literal text pizza (case sensitive) g modifier: global. Finds all matches instead of stopping after the first