filmov
tv
Regex-1.1 Regular Expression Introduction
Показать описание
Make sure to subscribe to my channel for more videos on UNIX, Perl and SQL.
twitter: @fuzicast
\w - matches a alphanumeric character
\d - matches a number
\s - matches a space
\W, \D, \S - opposite of \w, \d, \s
^ - beginning of line
$ - end of line character
. - match any character except for newline
* - 0 or more occurrence
+ - 1 or more occurrence
? - 0 or 1 occurrence
| - alternative match
(regex) - grouping/store match
[ ] - character set/class
{ x,y } - number of occurrence between x and y
{ x } - x occurrence
{ x, } - at least x occurrence
[^ ] - opposite of [ ]
*? - non greedy matching
twitter: @fuzicast
\w - matches a alphanumeric character
\d - matches a number
\s - matches a space
\W, \D, \S - opposite of \w, \d, \s
^ - beginning of line
$ - end of line character
. - match any character except for newline
* - 0 or more occurrence
+ - 1 or more occurrence
? - 0 or 1 occurrence
| - alternative match
(regex) - grouping/store match
[ ] - character set/class
{ x,y } - number of occurrence between x and y
{ x } - x occurrence
{ x, } - at least x occurrence
[^ ] - opposite of [ ]
*? - non greedy matching