Menu
hi all.
I have a problem that I think cn be solved with a bit of regex code, only I do not know enough to work this one out
example:
I have a string something like:
[CODE] <p><x>yz</x>someRandomText</p><p>moreTextThenAnother<x>yz</x>thenEvenMoreText</><p>rinseAndRepeat</p>
I need to search through the string , extract the yz do some stuff to it and then put it back between the x tages, so the string ends up like
[CODE] <p><x>qyzq</x>someRandomText</p><p>moreTextThenAnother<x>qyzq</x>thenEvenMoreText</><p>rinseAndRepeat</p>
does anyone know how I would do this? thanks