Hi @naveen_27_05
You can use Foundation Validator.You can follow this blog https://aemhints.com/2020/11/02/validating-dialog-value/
Here, if you check, field is checked against regex and if regex matches, js function return nothing which means field is valid otherwise it returns some error messag...