AnkiLab
Sign in
Download

Perl regular expressions (regex)

Perl regular expressions

Showing cards 1-20 of 36
Front
any digit
lang
regex
Back
\d
Front
any non-digit
lang
regex
Back
\D
Front
any character
lang
regex
Back
.
Front
match a single a, b, or c
lang
regex
Back
[abc]
Front
what does [abc] do?
lang
regex
Back
match a single a, or b, or c
Front
match any single character that is not an a, b or c
lang
regex
Back
[^abc]
Front
any alphanumeric character
lang
regex
Back
\w
Front
\w
lang
regex
Back
any alphanumeric character
Front
any non-alphanumeric character
lang
regex
Back
\W
Front
\W
lang
regex
Back
any non-alphanumeric character
Front
any character from c to x in the alphabet
lang
regex
Back
[c-x]
Front
[c-x]
lang
regex
Back
any character from c to x in the alphabet
Front
any number from 1 to 6
lang
regex
Back
[1-6]
Front
[1-6]
lang
regex
Back
any number from 1 to 6
Front
5 occurrences of the character or group x
lang
regex
Back
x{5}
Front
match 1 or more occurrences of the character or group x
lang
regex
Back
x+
Front
x+
lang
regex
Back
match 1 or more occurrences of the character or group x
Front
match 0 or more occurrences of the character or group x
lang
regex
Back
x*
Front
x*
lang
regex
Back
match 0 or more occurrences of the character or group x
Front
0 or 1 occurrences of the character or group x
lang
regex
Back
x?
Showing cards 1-20 of 36