import re
print(re.search('\(\d{1,}\)', "b' 1. Population, 2016 (1)'"))
I am trying to extract the digits (one or more) between parentheses in strings. The above codes show my attempted solution. I checked my regular expression on https://regex101.com/ and expected the codes to return True. However, the returned value is None. Can someone let me know what happened?