Im encountering a strange issue using esapi validation.
Bellow is my regex that is working for me as expected except when I include the string "&sub" it does not find a match.
^[0-9a-zA-Z :;=@$?()+&\\[\\]\\/\\\\#.,\\-'_]{0,1000}$
Any other combination like "&su" or "&bus" is fine, when I add "&sub anywhere in the string it throws an error.
Invalid input. Please conform to regex ^[0-9a-zA-Z :;=@$?()+\&\[\]\/\\#.,\-'_]{0,1000}$ with a maximum length of 1000
Any help appreciated
"infront of the&subas given in the question? - Matt.G