Regex tester
Pattern
Input
<a href="/string1/any string here/string2">text here</a>
Options
Replacement
Click the context tab to see replacements.
1 match found in about 3 milliseconds.
IndexPositionMatched String
018any string here
<a href="/string1/any string here/string2">text here</a>
  1. <a href="/string1/
  2. /string2">text here</a>