diff --git a/src/utils/network_utils.js b/src/utils/network_utils.js
index <HASH>..<HASH> 100644
--- a/src/utils/network_utils.js
+++ b/src/utils/network_utils.js
@@ -74,7 +74,7 @@ const NetworkUtils = {
   },
 
   getAddressAndPortFromUri(uriString) {
-    let regexStr = /(?:http:\/\/|rosrpc:\/\/)?([a-zA-Z\d\-.:]+):(\d+)/;
+    let regexStr = /(?:http:\/\/|rosrpc:\/\/)?([a-zA-Z\d\-_.]+):(\d+)/;
     let match = uriString.match(regexStr);
     if (match === null) {
       throw new Error ('Unable to find host and port from uri ' + uriString + ' with regex ' +  regexStr);
Fix regex for parsing url. (#<I>)

Added `_` to the valid characters in the hostname and removed ':'.



Fixes #<I>.