Validate proxy URL using XML regex pattern

mvtowns

New Member
I am using the XML regex pattern to match my proxy URL.eg: Proxy : ab-proxy-sample.company.com:8080My requirement : [*]Should not begin with http:// OR https:// (Match the whole word)[*]Should accept any string + a port[*]Should accept even strings starting with htMy current XML regex is : [^http://|https://].+:[0-9]+|But its matching each letter instead of the whole word ?Any help would be highly appreciated.Thanks in advance !
 
Back
Top