\d can be replaced with a character class, such as [a-z0-9] to specify all letters and numbers
7,10 can be replaced with a fixed number rather than a range (e.g. 20)
If the alphabetic characters can be mixed case, add an 'i' after the ending '/' delimiter to specify that the pattern match should be case insensitive.