I have an XML file with the following structure:
<id>1</id>
<name>alligator and stingray</name>
...
<id>99999</id>
<name>dolphin with carp</name>
I need result:
<id>1</id>
<name>Alligator And Stingray</name>
...
<id>99999</id>
<name>Dolphin With Carp</name>
I used this regex:
Search: (<name>)(.*)(</name>)
Replace: \1\u\2\3
The results I received:
<id>1</id>
<name>Alligator and stingray</name>
...
<id>99999</id>
<name>dolphin with carp</name>
It only capitalizes on the first word of the first ID, and the remaining words and words on other IDs remain unchanged (still lowercase)!
I was doing something wrong?
Help appreciated - Thank you.