Update Regex.md

This commit is contained in:
Ralf Koop 2023-08-29 09:10:29 +00:00
parent 7037e1871c
commit 768feb5ea2

View File

@ -1,3 +1,5 @@
Title : Regex.md
## Common operators
To define patterns to match, you can use these common operators:
@ -97,4 +99,4 @@ To match a pattern based on the position of a character, use brackets **([...])*
_Note: All characters within brackets are taken literally, and not as regex operators. For example, **[*\+?{}.]** matches any of the literal characters within the brackets._
## Match unwanted characters ([^...])
To match a pattern that does not contain characters, start the sequence with an **^** operator, and wrap it in brackets. For example, **%[^a-zA-z]%** matches a string with any non-letter character between two percent signs.
To match a pattern that does not contain characters, start the sequence with an **^** operator, and wrap it in brackets. For example, **%[^a-zA-z]%** matches a string with any non-letter character between two percent signs.