15

Sets with Ranges

The following expression shall find the numbers 20 to 29 but it has mistakes. Would you like to change it so it matches only the number from 20 to 29?

[20-29] means [20129], because regular expressions use digits and not numbers. [0-2] turns into [012].

Some steps before, you found the by putting the variable part into brackets [tT]. The fix part is outside of the brackets.

I added a 2 to the beginning of my regular expression.

Next Step