RegularExpression: Difference between revisions

From Wiki RB4
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
* see [https://eloquentjavascript.net/09_regexp.html here]
==Nomenclature==
==Nomenclature==


'''.'''  any character
'''.'''  any character
'''+''' one or anytime
 
'''*''' zero or multiple
 
'''+''' one or multiple
 
'''?''' zero or once
 
'''\w''' word character
 
'''[]''' set of characters
 
==Testing==
* [https://regex101.com/ good online test]

Latest revision as of 14:50, 25 May 2020

Nomenclature[edit]

. any character

* zero or multiple

+ one or multiple

? zero or once

\w word character

[] set of characters

Testing[edit]