Regular expression EX3

xiaoxiao2021-03-06  46

String Extension (String URL)

{

Regex r = new regex (@ "^ (? / w ): // [^ /] ? (? : / d )? /",

Regexoptions.compiled;

Return R.Match (URL) .result ("$ {Proto} $ {port});

}

转载请注明原文地址:https://www.9cbs.com/read-81135.html

New Post(0)