Validate Regular expressio ( RegEx )

Sometimes while working with API testing, we need to take care of cyber security standards and have to validate input data so that it does not allow sensitive characters.

Developers use RegEx ( Regular expressio ) to allow or restrict characters.

[A-Za-z0-9-_:=\”,+{} \n\t]+$

This allows the above mentioned characters only.
Other than allowed characters it will throw error.

Now to test this we can use online tools like

Simply paste the expression and enter required characters and click test match. It will give you result .

Leave a Reply