/
g
Define a pattern to see the structural breakdown.
.Any character\wWord character\dDigit\sWhitespace\bWord boundary^Start of line$End of line*0 or more+1 or more?0 or 1{n}Exactly n times[...]Character set(...)Capturing group(?:..)Non-capturinga|bAlternation\Escape specialA regular expression (regex) is a sequence of characters that forms a search pattern. When you search for data in a text, you can use this search pattern to describe what you are looking for. Mastering Regular Expressions is key for data processing and validation.
Common meta-characters used in Regex include:
Quantifiers specify how many instances of a character or group must be present:
Frequently Asked Questions