Quick regexp question about %
I'm trying to replace all the occurences of %20 in a string. However i'm having difficulty entering the % character. I have tried "%20", "%20", %%20, "%%20" and pretty much every other combination apart from the right one! Any ideas?
Thanks,
Rob
Okay sorry ive got that one...my new problem is replacing the "" character.
Cracked both of those (after an hour of solid fiddling), but now but when I replace %20 on a string that has more zeros after the 0 in %20 (e.g. %200089kick.wav") the zeros are all removed -> "89kick.wav". How can I stop this? Any hints would be most appreciated.
Cheers,
Rob
Max Patch
Copy patch and select New From Clipboard in Max.
Best, J
works perfectly. cheers!