We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

sfmaskededit with regex

I'm having a problem using "or" validating in RegEx. I want to validate that the user has entered either a 5 digit US Zip Code, or 3 digit Canadian Postal Code, but the Regex fails to recognize the pip as an or. It sees it as a literal character instead. Here is my RegEx pattern: \d{5}|[A-Z][0-9][A-Z].

I'd appreciate any guidance. Also, are there any limitations on RegEx in the SF libraries that I should be aware of?

Thank you

1 Reply

DR Durga Rajan Syncfusion Team May 24, 2016 10:43 AM UTC

Hi Tony,

We were able to reproduce the issue and logged defect report regarding this. A support incident to track the status of this defect has been created under your account. Please log on to our support website to check for further updates

https://www.syncfusion.com/account/login?ReturnUrl=%2fsupport%2fdirecttrac%2fincidents  

Regards,
Durga S. 


Loader.
Live Chat Icon For mobile
Up arrow icon