import re
area_dict = {
"北京": ["海", "北京", "京"],
"河南": ["豫"],
"河北": ["翼"],
"郑州": ["郑"],
"商丘": ["商"],
"天津": ["津"],
"内蒙古": ["蒙"],
"株州": ["株"],
}
a = "河南监管局"
b = "郑州市应急管理部"
c = "内蒙古监管局"
d = "株州"
content = "行政处罚决定书(株)文罚字〔2019〕第F-000032号"
punish_num = ""
j = area_dict.get(d[:2], '')
if not j:
j = area_dict.get(d[:3], '')
if j:
for i in j:
re_str = '[((].*?{}.*?号$'.format(i)
pattern = re.compile(re_str, re.S)
p_num = pattern.search(content)
if p_num:
punish_num = p_num.group()
break
print(1111, punish_num)