Lab #14, Wednesday 12/6

The purpose of this lab is to give you some practice with regular expressions.

Here is a line of code that creates a string with some UAA course numbers:

Insert this line of code into a program that uses a regular expression to find and output all of the UAA course numbers (CSCE A211, ART A111, PHYS A124, PHYS A124L). The rule that you can use is that a UAA course number consists of 2-4 upper case letters followed by a space followed by the letter 'A' followed by exactly 3 digits. If it is a lab there can be a 'L' at the end, otherwise there is no letter 'L' at the end.

Show your working code to the instructor or TA for credit, or email your solution by midnight.