[ASK] Replace string ?

Post Reply
de2apandi
Posts: 70
Joined: 31 Oct 2014, 04:43

[ASK] Replace string ?

Post by de2apandi »

Hi again brother.. :-)

how to replace string with regular exression for this link example
http://pics.r18.com/digital/video/onsd0 ... 0712ps.jpg
and i will change to
http://pics.r18.com/digital/video/onsd0 ... 0712pl.jpg

so the change is ps to pl

link source for parsing is here
http://www.r18.com/common/search/search ... 252BAsami/

thanks for your help..
Maksym
Site Admin
Posts: 2431
Joined: 02 Mar 2009, 17:02

Re: [ASK] Replace string ?

Post by Maksym »

Here you are:

RE: data-original="(http://pics.r18.com/digital/video/.+?)(ps)(\.jpg)"
Address: [#1]pl[#3]
de2apandi
Posts: 70
Joined: 31 Oct 2014, 04:43

Re: [ASK] Replace string ?

Post by de2apandi »

wow it work thanks again mate :-)
Post Reply