I have a URL like this:
http://192.168.0.1:8080/servlet/rece
I want to parse the URL to get the values:
IP: 192.168.0.1 Por
With a regular expression if you want the easy way. Otherwise use FLEX/BISON.
You could also use a URI parsing library