yes...
just change from [0-9] to [1-7]
and you're right on about the use of parenthesis. They create memory called a "backreference" that allows you to extract key portions and play with them.
They are also handy for preg_match() where you can store them all to a 2D array for use throughout your code.
If you just play with different patterns to match, you'll get the hang of it. Better to go through the agony and learn than rely on free help, since regex is very powerful when used correctly.