I am using Regular expression validator during the create transition.

I am using [a-zA-Z0-9_=+-] because I need to allow special charterers (_,+,-,=, ).
Am I doing something wrong because this is not working and throwing error whenever i place '_' symbol.