Regular Expression Class Activity - Hsanokklis/2023-2024-Tech-journal GitHub Wiki
https://www.computerhope.com/jargon/r/regex.htm
Go through the tutorial and at least 5 of the challenges.
Notes:
-
A+- Must be one or more A
-
A|B- A or B
-
A?- One or Zero (A is optional)
-
B*- zero or infinite B [0, ] - B is optional
-
[AB]- Range - one of the given letters
-
[^AB]- not these letters
-
(A)\1- One or more A
-
A{2,}- Two or more A - there is no number after the 2, which means the range is infinite
-
\D
Special Characters
-
/w- represents a word
-
/d- represents a digit
-
/s- represents a whitespace