Fixed issue when finding a non \w, so now the regex searches until it matches anything other than three slashes/