Regular Expressions 101

Save & Share

Flavor

  • PCRE2 (PHP >=7.3)
  • PCRE (PHP <7.3)
  • ECMAScript (JavaScript)
  • Python
  • Golang
  • Java 8

Function

  • Match
  • Substitution
  • List
  • Unit Tests
"
(?<=<td colspan=\\"1\\">fs-newarch-proxy</td> <td colspan=\\"1\\">)(.*?)(?=</td>)
"
All the errors detected are listed below, from left to right, as they appear in the pattern.
" An unescaped delimiter must be escaped with a backslash (\)
" An unescaped delimiter must be escaped with a backslash (\)
" An unescaped delimiter must be escaped with a backslash (\)
" An unescaped delimiter must be escaped with a backslash (\)
Your regular expression does not match the subject string.

Regular Expression
No Match

r"
"

Test String

Code Generator

Generated Code

Loading code sample...
Please keep in mind that these code samples are automatically generated and are not guaranteed to work. If you find any syntax errors, feel free to submit a bug report.
For a full regex reference for Python, please visit: https://docs.python.org/3/library/re.html