reg examples code
Example 1: regex examples
\D matches a single non-digit character -> Try it!
Example 2: regex examples
\$\d matches a string that has a $ before one digit -> Try it!
\D matches a single non-digit character -> Try it!
\$\d matches a string that has a $ before one digit -> Try it!