Regular Expression Flashcards
1
Q
regex chars
match any single character
A
.
2
Q
regex chars
match an optional item only once
A
?
3
Q
regex chars
match 0 to n chars in string
A
*
4
Q
regex chars
items MUST be matched at lease once but can be matched more
A
+
5
Q
regex chars
match # of times
A
#
6
Q
regex chars
match # of times or more
A
,
7
Q
regex chars
match between the first and second number
A
,
8
Q
regex chars
words that start with what comes after
A
<
9
Q
regex chars
words that start with what comes after
A
10
Q
regex chars
words that end with what comes after
A
>
11
Q
regex chars
words that end with what comes after
A
$
12
Q
regex chars
words that contain either ‘a’ or ‘A’
A
[aA]
13
Q
regex chars
words that do NOT contain the letter
A
[^o]