C# URL Regex for MaskedEdit

Jassim Al Rahma 1,521 Reputation points
2021-11-18T17:06:47.047+00:00

Hi,

How can I have a Regex for SfMaskedEdit which has the following URL formats only as VALID a

https://www.syncfusion.com

https://syncfusion.com

https://*.syncfusion.com (where * is any subdomain)

and it can have subfolders and ports, for example:

https://www.syncfusion.com/forums/1/2

https://www.syncfusion.com/forums?id=1&product=2

https://www.syncfusion.com?id=1&product=2

Thanks,
Jassim

C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,245 questions
{count} votes