Hi Jayaleshwari,
I was able to add the support myself by creating the file RegularExpressionAttribute.cs, below. You might want to consider adding this to your product.
Thanks,
using System;
using System.Text.RegularExpressions;
namespace Syncfusion.XForms.DataForm
{
public class RegularExpressionAttribute : ValidationAttribute
{
private static String DefaultErrorMessageString => String.Empty;
public String RegexString { get; }
public RegularExpressionAttribute(String regexString)
: base(() => DefaultErrorMessageString)
{
RegexString = regexString;
}
public RegularExpressionAttribute()
: this(null)
{
}
public override Boolean IsValid(Object value)
{
return new Regex(RegexString).IsMatch((String)value);
}
}
}