Page 1 of 1

Remove everything after string

Posted: Fri Jul 08, 2016 1:20 pm
by steve1040
I'm attempting to remove all the text following "=buy-new"

I've tried

Code: Select all

Find =buy-new+$

Replace with =buy-new
The find isn't finding the desired text - Please help
Thanks


What I have

/acura/?vehicleclass=newcar&intent=buy-new">Acura</a></li><li><a data-omn-page="buynew_${s.prop2}_make_alfa "
/alfa-romeo/?vehicleclass=newcar&intent=buy-new">Alfa Romeo</a></li><li><a data-omn-page="buynew_${s.prop2}_make_aston"
/aston-martin/?vehicleclass=newcar&intent=buy-new">Aston Martin</a></li><li><a data-omn-page="buynew_${s.prop2}_make_audi"
/audi/?vehicleclass=newcar&intent=buy-new">Audi</a></li><li><a data-omn-page="buynew_${s.prop2}_make_bentl"
/bentley/?vehicleclass=newcar&intent=buy-new">Bentley</a></li><li><a data-omn-page="buynew_${s.prop2}_make_bmw"
/bmw/?vehicleclass=newcar&intent=buy-new">BMW</a></li><li><a data-o

What I want

/acura/?vehicleclass=newcar&intent=buy-new
/alfa-romeo/?vehicleclass=newcar&intent=buy-new
/aston-martin/?vehicleclass=newcar&intent=buy-new
/audi/?vehicleclass=newcar&intent=buy-new
/bentley/?vehicleclass=newcar&intent=buy-new
/bmw/?vehicleclass=newcar&intent=buy-new

Posted: Fri Jul 08, 2016 2:07 pm
by steve1040
I found the solution

buy-new".*\n