regex for string code example
Example 1: regex usage
regex usage examples
Example 2: regex examples
\$\d matches a string that has a $ before one digit -> Try it!
Example 3: regex examples
a(bc) parentheses create a capturing group with value bc -> Try it!a(?:bc)* using ?: we disable the capturing group -> Try it!a(?<foo>bc) using ?<foo> we put a name to the group -> Try it!