Learn Before
Concept
Quantifying Characters
- The + character matches the expression at least 1 time.
- The * character matches the expression 0 or more times.
- ? matches the expression 0 or 1 time.
- {x} matches the expression exactly x times.
- {x, y} matches the expression between x and y times.
- {x,} matches the expression at least x times.
- {,y} matches the expression at most y times.
0
1
Updated 2021-08-24
Tags
Python Programming Language
Data Science