Skip to content

Instantly share code, notes, and snippets.

View rezaindrag's full-sized avatar
🎯
Focusing

Reza Indra rezaindrag

🎯
Focusing
View GitHub Profile
@rezaindrag
rezaindrag / gist:d854284c00b61cd2faa4dc1e380f1003
Last active June 11, 2022 08:01 — forked from jacksonfdam/gist:3000275
Regular Expressions List
//Regular Expressions List
//Short Tutorial
\ // the escape character - used to find an instance of a metacharacter like a period, brackets, etc.
. // match any character except newline
x // match any instance of x
[^x] // match any character except x
[x] // match any instance of x in the bracketed range - [abxyz] will match any instance of a, b, x, y, or z
| // an OR operator - [x|y] will match an instance of x or y