regexp examples - luxembourg/muxcode-clm GitHub Wiki

REGEXP EXAMPLES

TOPIC: Regular Expression Examples

The regexp pattern '.' is equivalent to the wildcard '?'; it matches one and only one of an arbitrary character.

The regexp pattern '.+' is equivalent to the wildcard ''; it matches one or more arbitrary characters. To match zero or more arbitrary characters, the regexp pattern is '.'.

To match a string of numbers, use: [0-9]+ To match a string of letters only, use: [A-Za-z]+

Related Topics: regexp syntax

⚠️ **GitHub.com Fallback** ⚠️