Build regular expression (http://regexr.com/) "Tools" panel (at the bottom) explains the expression ===== match http or https pattern http(s)?://[a-zA-Z0-9\.]+ http(s)?://[a-zA-Z0-9].+ what are differences? match phone number [1-9][0-9][0-9]-[0-9][0-9][0-9]-[0-9][0-9][0-9][0-9] [1-9][0-9]{2}-[0-9]{3}-[0-9]{4} ===== 2:00PM-3:15PM 02:00PM-3:15PM 11:00AM-11:50AM let's say we don't allow a leading zero ===== http://www.cs.virginia.edu/~up3f/cs1111/practice-of-the-day/zipLookup.java get zip code with quotations get state and city ===== class schedule page source view-source:http://cs1110.cs.virginia.edu/schedule.html let's take some examples https://regexr.com/3nve9 https://www.archives.gov/about/organization/telephone-list.html href="http://www.cs.virginia.edu/~up3f/cs1111/examples/" href="http://www.spronck.net/pythonbook/pythonbook.pdf#chapter.13" href="http://www.spronck.net/pythonbook/pythonbook.pdf#section.27.3" href="http://www.spronck.net/pythonbook/pythonbook.pdf#section.17.2" href="http://cs1110.cs.virginia.edu/know.html" href="lab11-gamebox.html" href="files/002/regex_example1.py" href="/screencasts/2018-04-13-003.webm" href="testing.html" href="files/fake-queue.csv" href="style.css" href="bootstrap.united.min.css" href="#cal001" ===== http://rabi.phys.virginia.edu/mySIS/CS2/page.php?Type=Group&Group=CompSci ===== http://www.cs.virginia.edu/~up3f/cs1111/practice-of-the-day/alice.txt find possible names of characters in Alice in Wonderland