Reply to All
Show messages
Messages
Inbox
Search
Login
1–4
Regular expression help
From: Peter (BOUGHTONP)
23 Oct 2007 17:51
To: THERE IS NO GOD BUT (RENDLE)
2 of 4
33375.2
In reply to
33375.1
There's probably a cleverer way, but assuming this is a one-off fix, I'd be inclined to just repeat the following a handful of times:
href="([^"]*)&([^"]*)"
href="\1&\2"
(Might be href="$1&$2" for some regex engines)
From: DarkBadger
23 Oct 2007 18:10
To: THERE IS NO GOD BUT (RENDLE)
3 of 4
33375.3
In reply to
33375.1
code:
Please replace & with &, but only if it occurs in an href attribute.
Seems regular enough to me.
From: THERE IS NO GOD BUT (RENDLE)
24 Oct 2007 09:26
To: Peter (BOUGHTONP)
4 of 4
33375.4
In reply to
33375.2
Thank you.