How to validate user entered input value

How to validate user entered input value and if the format is wrong how to make RASA ask user to reenter the value? We have a requirement of validating AWB number format

you can do this in a custom action https://rasa.com/docs/core/customactions/