Hi,
I was looking for a way to increase the numbers in an array via UE and stumbled upon, for the very first time mind you, Macros.
This, to me, seemed to be the way to go, but even though I have the Regular Expression up and running there seems to be no way I can add 1 to the search result.
Let me give an example:
What I would like to do now is increase the array number so it turns out like this:
I thought this would be quite easy seeing how much else these macros are able to do. But no :\
I use the following Reg. Exp. to search for the array:
Yeah not even that is very precise but it seems to be close enough.
If any one would be able to lend a hand I would be very gratefull.
Cheers
bjawnie
I was looking for a way to increase the numbers in an array via UE and stumbled upon, for the very first time mind you, Macros.
This, to me, seemed to be the way to go, but even though I have the Regular Expression up and running there seems to be no way I can add 1 to the search result.
Let me give an example:
Code: Select all
Here we have some code which all of a sudden contains an array a_xml_content(2)
What I would like to do now is increase the array number so it turns out like this:
Code: Select all
Here we have some code which all of a sudden contains an array a_xml_content(3)
I thought this would be quite easy seeing how much else these macros are able to do. But no :\
I use the following Reg. Exp. to search for the array:
Code: Select all
a_xml_content(^(*^))
If any one would be able to lend a hand I would be very gratefull.
Cheers
bjawnie