regex - regular expression to skip protocol url -


i'm trying define regular expression in c# when given url return url except protocol, such http. is, need skip protocol , return domain , path.

any ideas?

use regex (?<=://).+

or

use regex ://(.+) without lookbehind, value in regexgroup[1]


Comments

Popular posts from this blog

monitor web browser programmatically in Android? -

Shrink a YouTube video to responsive width -

wpf - PdfWriter.GetInstance throws System.NullReferenceException -