R

TestRegex

Positive lookbehind

(?<=...)

Ensures that the given pattern will match, ending at the current position in the expression. Does not consume any characters.

Examples

Match Sample:
foobar foobaz
Regex Example:
(?<=foo)bar
PCRE PYTHON

Share & Embed

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

<!-- Embed Regex Token: (?<=...) -->
<code class="regex-token">(?<=...)</code> - Positive lookbehind
<small><a href="https://testregex.com/cheatsheet/positive-lookbehind">See details</a></small>