I'm writing a tool -for private use- that reads a string. The containing string is full url encoded. Normaly I use this site for decode or encode a string. So I took a look at the source code. In the source of this, I found two regexpressions:
.replace(/'/g,"%27").replace(/"/g,"%22")
and
.replace(/\+/g, " ")
I think the first does replace all ' to %27 and " to %22. Is that right? If not, what is the pendant in Java?
At second statement, I have no idea what does it mean and do. Can some explain it and what is the pendant Java?
I'm still an absolute beginner with regexpressions, so I hope the community here can help.
Thanks.