Syntax Description * 0 or more times + 1 or more times ? 1 or 0 times {m} exactly m times {m,} m or more times {m,n} m to n times (both inclusive) \n new line […] range or character class (e.g. [a-z0-9] all lowercases and digits) [^…] not in range or negated