Welcome, guest! Login / Register - Why register?
Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so just use oauth login instead. :)

Paste

Pasted by _ericb ( 20 years ago )
Pattern urlPattern = Pattern.compile("\w+://([\w\.]*).*");
String dispatcherHost = urlPattern.matcher("rmi://192.168.1.10/Dispatcher").group(1);

 

Revise this Paste

Your Name: Code Language: