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
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Complex RegEx do not work in SfMaskedEdit

Thread ID:





147510 Sep 13,2019 09:59 AM UTC Sep 16,2019 06:51 AM UTC Xamarin.Forms 3
Tags: SfMaskedEdit
Asked On September 13, 2019 09:59 AM UTC


is the complexity of RegEx masks for the SfMaskedEdit restricted in some way? I've noticed that I had problems with some expresions for e-mail or phone validation. I now wanted to create an input for datetime and wanted to use a RegEx mask that would already restrict the input to valid datetimes. The expression works in several online testtools i found, based on javascript and on .net, but using it in the SfMaskedEdit leads to some symbols being shown in the entry and the app crashing as soon as I write something in it.



Vignesh Ramesh [Syncfusion]
Replied On September 13, 2019 01:53 PM UTC

Hi Martin,  
Greetings from Syncfusion.  
We would like to convey that we have provide support for limited Mask. Please refer the following user guide link for more information about regular expression that supported by MaskedEdit.  

Replied On September 16, 2019 06:43 AM UTC

Hello Vignesh,

I had a look into the documentation before, but I interpreted it more like a guideline than a restriction. It might help to mention the restriction to those specific mask characters in the documentation. Now that I know about it, i can adjust my code accordingly.


Rachel A [Syncfusion]
Replied On September 16, 2019 06:51 AM UTC

Hi Martin, 
Thanks for your suggestion. 
We have considered your suggestion in improving the documentation and it will updated in the documentation content shortly. 


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

Live Chat Icon For mobile
Live Chat Icon