I'm fairly new to C programming and I am looking for a method to extract the domain name from a web page url.
EX. User provides http://www.google.com/index.html
I want to extract google.com from this string.
I know I can do this using regular expressions, but C doesnt seem to support Regex. Could someone give me an idea on how to handle this?