Regular expressions for Web service URL RRS feed

  • Question

  • Hi,

    I have created a web service “https://servername:443/dir1/file.asmx” . I need to validate this url.  The condition is port protocol can be “http” ot “https”.

    Port can be different. And servername can be “name” or “Ip”. There can be more “subdirectory” in the path like “”.


    Could anyone provide me regular expression for this url to validate properly?

    Friday, March 27, 2009 12:20 PM

All replies