/regex/ |
litteral match |
/regex|moreregex/ |
Literal match w/ different possibilities |
/?/ |
lazy search |
/^a/ |
returns a if first |
/a$/ |
returns a if last |
/(?=a)/ |
returns if a is present |
/(?!a)/ |
returns if a is NOT present |
/./ |
wildcard character |
/a?/ |
a optional |
/[a+]/ |
a or aa as single match (1 or more) |
/[Aa*]/ |
Aa or A as single matches (0 or more) |
/[A-z]{a,b}/ |
min a, max b |
/[A-z]{x,}/ |
min x times |
/[A-z]{x}/ |
only x times |
/[A-z],{x}/ |
max x times |
Comments
Related