Hi,
I'm currently trying to create a regular expression that can extract
certain elements from a url.
The url will be of the following form:
http://user:pa**@www.sitename.com
I want a regex that matches the "user" part of that url.
My first approach was ([:][/][/]([a-z]*)[:]) but that only return
"://user:".
I would have to use .NET's substring method to extract the "user" but I
don't want to do that.
I've been searching through the web for quite a while now
Isn't there a way to get the substring from "://user:" using something
like a subpattern ?
Is it possible after all ?
Thanks in advance