I have a string, for example...
{attr 1} {a b c} attr2 abcd attr3 {a b c}
I need to replace all spaces with special characters (say !!!) but ONLY those spaces inside braces.
So in the above I need...
{attr!!!1} {a!!!b!!!c} attr2 abcd attr3 {a!!!b!!!c}
Any suggestions? At the moment I'm...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.