Regex (common)
- | - |
---|---|
. (dot) | Any single character except a newline |
* | Zero or more repeats |
+ | One or more repeats |
? | Zero or one repeat |
\ | Quote special characters |
\c | Quote regular expression special character c |
| | Alternative (âorâ) |
\(...\) | Grouping |
\(:?...\) | Shy grouping |
\(:NUM...\) | Explicit numbered grouping |
\n | Same text as nth group |
\b | At word break |
\B | Not at word break |
Comments