regex - How do I replace these regexes in a string in Java? -


i'm creating small program communicates teamspeak 3 serverquery , i've run issue. according protocol, have pass whitespace , other characters escape patterns. here's manual, page 5: http://media.teamspeak.com/ts3_literature/teamspeak%203%20server%20query%20manual.pdf

how can replace whitespace , other characters these escape patterns? can't seem find way.

thanks.

try static method 'encode' in java.net.urlencoder class.

http://docs.oracle.com/javase/8/docs/api/java/net/urlencoder.html


Comments

Popular posts from this blog

Email notification in google apps script -

c++ - Difference between pre and post decrement in recursive function argument -

javascript - IE11 incompatibility with jQuery's 'readonly'? -