I have installed the plugin: Find and replace
See: http://loweblog.com/software/low-replace/
Is it possible to change the next URL
Into
http://nos.nl/artikel/185120-plan-voor-regiotram-in-groningen.html
And if so how todo that.
Thanks
This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.
The active forums are here.
September 16, 2010 1:52am
Subscribe [3]#1 / Sep 16, 2010 1:52am
I have installed the plugin: Find and replace
See: http://loweblog.com/software/low-replace/
Is it possible to change the next URL
Into
http://nos.nl/artikel/185120-plan-voor-regiotram-in-groningen.html
And if so how todo that.
Thanks
#2 / Sep 16, 2010 6:50am
Marcuse, I doubt you’ll get a proper response from the EllisLab crew, since you’re asking for support for a 3rd party add-on (mine).
You’re looking for a regular expression to change the URL above. Not tested, but perhaps something like this would work:
{exp:low_replace find="^http.*?=(http.*?)(&|$)" replace="$1" regex="yes"}{some_url}{/exp:low_replace}#3 / Sep 16, 2010 10:37am
The master himself, great
Thanks but that isn’t what I looking for.
I want to shorten url’s direct to the owner of the source and not a runaround. It must delete the first url till ‘url=’ and leave the rest alone.
#4 / Sep 16, 2010 10:42am
That’s what the above regex should do, actually. Unless you’re replacing urls in blocks of text. Then you’ll need a different regex altogether. I suggest reading some regex tutorials for that.
#5 / Sep 16, 2010 6:26pm
Thanks Lodewijk.
Marcuse, as EE is working properly I’ll go ahead and move this over to the CodeShare Corner for further discussion.
#6 / Sep 17, 2010 3:52am
It is working great