If I have a sentence and I wish to display a word or all words after a particular word has been matched ahead of it, for example I would like to display the word fox>
\b is a zero width match of a word boundary.
(Either start of end of a word, where "word" is defined as \w+)
Note: "zero width" means if the \b is within a regex that matches, it does not add any characters to the text captured by that match. ie the regex \bfoo\b when matched will capture just "foo" - although the \b contributed to the way that foo was matched (ie as a whole word), it didn't contribute any characters.