add regex to tag input

regex