Validating the formated text inputs with patterns

hi webix team,
i am unable to validate the userdefined patterns with the validate property in patterns
snippet : https://snippet.webix.com/cz1dd16l

Hey @rajkumar, the value you are getting for validation is absent of any slashes in it (/), simply remove them from your RegExp and your function will work just fine: https://snippet.webix.com/z3hyo03s.

its working Thank you @Dzmitry