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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

sfmaskededit with regex

Thread ID:





124185 May 23,2016 08:03 PM UTC May 24,2016 10:43 AM UTC WPF 1
Tags: SfMaskedEdit
Tony Amos
Asked On May 23, 2016 08:03 PM UTC

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

Durga Rajan [Syncfusion]
Replied On 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


Durga S. 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon