L
llihp
I'm trying to turn text like this:
A test to turn [text like this] into some [other text].
into this:
A test to turn [TextLikeThis] into some [OtherText].
I can get an expression that will match the text in brackets, but I can't
work out how to sub-group so I can capitalise each word and remove the
spaces.
I'm matching the text in brackets using:
\[(\w+\s{0,})+\]
Any help gratefully received!!!
A test to turn [text like this] into some [other text].
into this:
A test to turn [TextLikeThis] into some [OtherText].
I can get an expression that will match the text in brackets, but I can't
work out how to sub-group so I can capitalise each word and remove the
spaces.
I'm matching the text in brackets using:
\[(\w+\s{0,})+\]
Any help gratefully received!!!