Complex replacing
Posted: Sun Oct 31, 2010 10:15 pm
Hi, I hope you can help me with this, I'm having a hard time doing it as I'm new to regular expressions
I have thousands of these lines, each with a different file name of course.
And I need them to look like this:
I've tried everything and read a lot about regular expression but I'm nowhere near the result I need, I really hope you can help me with it, thank you very much.
I have thousands of these lines, each with a different file name of course.
Code: Select all
<image imageURL="images/FILENAMEXX.jpg" thumbURL="thumbs/FILENAMEXX.jpg"
linkURL="" linkTarget="" >
Code: Select all
<image>
<filename>FILENAMEXX.jpg</filename>