Chapter 9 exercises.

Found the non-capturing group. Slightly more efficient!