Please enable JavaScript.
Coggle requires JavaScript to display documents.
Chapter 10.1.2: Regular Expression (RegEx) (Data Transformation (Powerful…
Chapter 10.1.2: Regular Expression (RegEx)
Data Transformation
Powerful tool
Specify context
.
Any character
?
Character following ? is optional
\W
Any non-alphanumeric character
\s
Any white space
\w
Any alphanumeric character
\S
Anything but whitespace
\D
Any character except for digits
[ ]
Any alphanumerical listed within brackets
\d
any one digit
[ ^ ]
Any alphanumerical not listed after caret
A-Z
" " (uppercase)
|
Pattern on either side
a-z
Looks for exact set of characters (lowercase)
^
Any pattern at beginning of string
0-9
Seeks digits in range
$
Pattern adjacent to end of string
{m,n}
Pattern in curly should repeat "m,n" times
*
Zero or more repetitions
{m}
Patter should repeat "m" times
+
One or more repetitions
()
Capture the string that fit pattern