-3

I have this:


...something...data-src="TEXT"...something...src="images/BBP/BBP0001/01SMALL.jpg"...something...

...something...data-src="TEXT"...something...src="images/BBP/BBP0001/02SMALL.jpg"...something...

...something...data-src="TEXT"...something...src="images/BBP/BBP0001/03SMALL.jpg"...something...
.
.
.
...something...data-src="TEXT"...something...src="images/BBP/BBP0001/48SMALL.jpg"...something...

I want this:


...something...data-src="images/BBP/BBP0001/01SMALL.jpg"...something...src="images/BBP/BBP0001/01SMALL.jpg"...something...

...something...data-src="images/BBP/BBP0001/02SMALL.jpg"...something...src="images/BBP/BBP0001/02SMALL.jpg"...something...

...something...data-src="images/BBP/BBP0001/03SMALL.jpg"...something...src="images/BBP/BBP0001/03SMALL.jpg"...something...
.
.
.
...something...data-src="images/BBP/BBP0001/48SMALL.jpg"...something...src="images/BBP/BBP0001/48SMALL.jpg"...something...

More precisely, I need to replace the "TEXT" value of the data-src attribute with the value in the src attribute, for each line.

Eirik Birkeland
  • 588
  • 5
  • 11
Alin
  • 3
  • 3
  • 1
    That's nice, good luck. – Toto Sep 21 '15 at 13:15
  • I try to use [this](http://stackoverflow.com/questions/16661601/notepad-copy-characters-on-every-line-and-add-to-the-end-of-every-line), but I can't make it work in reverse mode – Alin Sep 21 '15 at 13:16
  • You should read up on [this](http://sourceforge.net/projects/notepad-plus/) Notepad++ tutorial – Darrell Sep 21 '15 at 13:32

1 Answers1

0

Find what (.*?data-src=")TEXT(.*?src=")(.*?)(".*)

Replace with $1$3$2$3$4

Eirik Birkeland
  • 588
  • 5
  • 11