- infinite repetition (
+
,*
)
- finite repetition (
{n}
)
- any single character (
.
)
- range of characters (
-
) (e.g.[abc]
or[acb]
or[0-9]
[^
means excep
- not (
~
)
- optional (
?
)
Regex Grammars
- letter -
[a-zA-Z]
- digit -
[0-9]
+
, *
){n}
).
)-
) (e.g. [abc]
or [acb]
or [0-9]
[^
means excep~
)?
)[a-zA-Z]
[0-9]