C# URL Regex for MaskedEdit

Anonymous
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

Developer technologies | C#
Developer technologies | 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.
{count} votes

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.