[snip] Additional: I forgot to mention that you should understand the difference between the .match() and .search() mthods. .match() is anchored to the starting position, so you'll want to use .search() instead.