21

Start and End

You can use the circumflex ^ outside of brackets. Then, it matches the beginning of the line.

The example with the numbers 20-29 should be solvable much shorter, now. Place the circumflex at the beginning of the regular expression to find all numbers starting with 2.

Next Step