Beginning and Ending of Strings2:10 with Alena Holligan
It's important to be able to specify that a regular expression starts matching at the beginning of a string and match all the way to the end. Learn more in this video.
Copy both the Match and the Exclude set of test strings from each exercise below into regex101. Using what you've learned so far, create a regular expression that will match all of the strings in the Match set and exclude the ones in the Exclude set.
img_01.jpg img_02.png img_03.gif img_04.png img_05.gif img_06.jpg
projector protractor projected
proctor my projector projecting projectorlight
You need to sign up for Treehouse in order to download course files.Sign up