Ranges and Repetition
Regex syntax includes metacharacters which specify the number of times a particular character or string must match. This group of metacharacters are called "quantifiers"; they influence the quantity of matches found. Quantifiers act on the element immediately preceding them, which could be a digit, a letter, or another metacharacter (including spaces as metacharacters not previously defined and the dot "."). This section demonstrates how quantifiers search using ranges and repetition.
© 2017 Sophos Limited. All rights reserved.