R

TestRegex

Non-word boundary

\B

Matches, without consuming any characters, at the position between two characters matched by \w.

Examples

Match Sample:
regex is really cool
Regex Example:
r\B
JAVASCRIPT PYTHON PCRE

Share & Embed

Use this snippet to display this token on your own site.

<!-- Embed Regex Token: \B -->
<code class="regex-token">\B</code> - Non-word boundary
<small><a href="https://testregex.com/cheatsheet/non-word-boundary">See details</a></small>