Wondering if this can be done with regex
I have this:
Code:
[URL=http://imagetwist.com/d6a2d645cp0e/puddens_359mb_856x480_15.51.jpeg][IMG]http://img162.imagetwist.com/th/15120/d6a2d645cp0e.jpg[/IMG][/URL]
[URL=http://imagetwist.com/mzttacgvxboj/puddens_359mb_856x480_15.51__2_.jpeg][IMG]http://img162.imagetwist.com/th/15120/mzttacgvxboj.jpg[/IMG][/URL]
[img]http://i.imgur.com/27fQZF4.png[/img]
[size="10"][b]Size[/b]: SIZE || [b]Quality[/b]: QUAL
[b]Time[/b]: TIME || [b]Format[/b]: FORMAT[/size]
[img]http://i.imgur.com/DoQOhI5.png[/img]
[url=http://k2s.cc/file/54c8cee388a5c/puddens_359mb_856x480_15.51.mp4]
[img]https://i.imgur.com/HTu8whp.png[/img]
LINK2
[img]http://i.imgur.com/ijd57dI.png[/img]
LINK3
& i want regex to copy the size, resolution, time and format from the link url
Code:
puddens_359mb_856x480_15.51.mp4
and replace it with
SIZE,
QUAL,
TIME,
FORMATexample:
Code:
[URL=http://imagetwist.com/d6a2d645cp0e/puddens_359mb_856x480_15.51.jpeg][IMG]http://img162.imagetwist.com/th/15120/d6a2d645cp0e.jpg[/IMG][/URL]
[URL=http://imagetwist.com/mzttacgvxboj/puddens_359mb_856x480_15.51__2_.jpeg][IMG]http://img162.imagetwist.com/th/15120/mzttacgvxboj.jpg[/IMG][/URL]
[img]http://i.imgur.com/27fQZF4.png[/img]
[size="10"][b]Size[/b]: 359mb || [b]Quality[/b]: 856x480
[b]Time[/b]: 00:15:51 || [b]Format[/b]: mp4[/size]
[img]http://i.imgur.com/DoQOhI5.png[/img]
[url=http://k2s.cc/file/54c8cee388a5c/puddens_359mb_856x480_15.51.mp4]
[img]https://i.imgur.com/HTu8whp.png[/img]
LINK2
[img]http://i.imgur.com/ijd57dI.png[/img]
LINK3
Thanks!