Solved: 0 / 0
| Regex | Description | Regex | Description |
|---|---|---|---|
| * | zero or more repetitions of the preceding character or group | {n} | exactly \( n \) repetitions of the preceding character or group |
| + | one or more repetitions of the preceding character or group | {n,} | at least \( n \) repetitions of the preceding character or group |
| ? | zero or one repetitions of the preceding character or group | {m,n} | at least \( m \) and at most \( n \) repetitions of the preceding character or group |
| . | any character | ^ | start of string |
| a|b | a or b | $ | end of string |
| [abc] | match any character in abc | (p) | capture the pattern p and store it somewhere (match group in Python) |
| [^abc] | anything but an ’a’, ’b’, or ’c’ | \d | any digit, same as [0-9] |
| [a-z] | any letter in the ASCII range of a-z | \s | any space character like \n, \t, \r, \f, or space |