Match where a word boundary does not occur.
Section: Anchors and Boundaries
Non-word boundary
regex
regex
\BExplanation
Useful for matching substrings that must stay inside a larger token.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Anchors and Boundaries
Absolute start anchor
Match only at the absolute start of the entire string.
Absolute end anchor
Match only at the absolute end of the entire string.