Regular expressions pcre2 cheatsheet
Regular expressions pcre2: Characters and anchors
9 common Regular expressions pcre2 tasks.
Match any character
Match any single character except a line break, unless the dotall flag is set.
.
Match the whole line
Anchor to the start and end of the text. This matches a phone number like 555-1234.
^\d{3}-\d{4}$
Match a special character literally
Escape characters such as . * + ? ( ) [ ] { } | \ ^ $ with a backslash.
3\.14