I'm trying to remove something from a string that looks like:
"name" : "12345"
it will always be that 12345 can be any number, is there a way to do this with something like:
string.replace("\"name\":\"[0-9]\",", "")
that doesn't work, and i've tried several things but nothing works.
thank you!
string.replaceto another variable (or back tostring; or printing it)?replaceAll, notreplace. The former matches regexes; the latter matches the exact string.