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

ios - iPhone/iPad different view orientations in different views , and apple approval process -

java Extracting Zip file -

php - HTTP_REFERER woes: How can I allow access to a specific page, only when a visitor has visited another specific page beforehand? -