Hello team, i am working on a bot where i need to validate agaisnt some special characters, some of the special characters are behaving incorrectly in certain combinations, for example:
^hello, is transforming it to hello
^ is showing an error related to
^^ is showing me the correct error, but asking the user to put a valid value again, its not taking the next input, i have to do it again to “reset” the damage that ^^ did.
for \ is also failing on the inputs.
below is the regexp that is beign used to match, and give a positive or negative validation:
So if any of these characters is present on the input, it should give me an error, and ask the user for input again.