Home
Tester
Reference
About
Pattern
(?<=<a href="\/string1\/)[^\/]*(?=\/string2">)
Input
<a href="/string1/
any string here
/string2">text here</a>
<a href="/string1/any string here/string2">text here</a>
Options
Ignore Case
Ignore Whitespace
Explicit Capture
Culture Invariant
Singleline
Multiline
Right To Left
ECMA Script
Start from position:
Max matches to find:
Replacement
Replace matches with...
Click the
context
tab to see replacements.
Regex Info
Table
Context
Split List
1
match found in about
3
milliseconds.
Show Permalink
Permalink
Index
Position
Matched String
0
18
any string here
<a href="/string1/
any string here
/string2">text here</a>
<a href="/string1/
/string2">text here</a>