#!/usr/local/bin/python3 regex = r'http://xxx/abc[x-z]/image(9|10|11)\.png' print(regex)