Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
Focusing

Reza Indra rezaindrag

🎯
Focusing
View GitHub Profile
@jacksonfdam
jacksonfdam / gist:3000275
Created Jun 26, 2012
Regular Expressions List
View gist:3000275
//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