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. \+ []...

Markdown supported · ⌘↵ to post
No responses yet.