Regex cheat-sheet.
Here's regex cheat-sheet.
abc -> this regex will match "abc" in a string.
\d or \w etc. -> they can be used to match special characters or sequences.
?, + -> have special meaning, hence if you want to match "+", use a backslash before it, e.g. \+
[]...
sammaji.com3 min read