I have a RegExText
bindable property in custom Entry
control on Xamarin.Forms
, I suppose to give ExpressionText in RegExText
property. When I tried to validate email address. It is showing nested qualifier exception.
<local:CustomRegexEntry x:Name="entryEmail"
Placeholder="{Binding .EmailLabelText}"
FontAttributes="Italic"
Text="{Binding EmailID}"
Image="Email"
RegExText="^([a-zA-Z0-9_\-\.]+)@([a-zA-Z0-9_\-\.]+)\.([a-zA-Z]{2,5})$"
Unfocused="onEntryEmail_Unfocused"/>
How can I include @ character on RegExText
property.