Nik
Jan 06, 2011Cirrus
stream find/replace expression with an exclude - take 2
inserting base href code into a post breaks the whole page.. so here we go again with psudo html:
--
the problem is i'm breaking internet explorer compatibility with a find/replace that i'm doing. here's a more specific example. again, three different strings:
[base href="http://www.domain.com/" /]
[a href="http://www.domain.com/path/to/file.jpg width="123" height="456" /]
[a href=http://www.domain.com/file/without/quotes.html /]
now, if i do something like this, it replaces all three domain names with "/" however i only want to replace the second two, not the first since it breaks compatibility with internet explorer:
STREAM::expression {@http://forexforums.dailyfx.com/@/@}
using stream_matched might do the job, i was hoping there'd be something a little simpler though.
thanks.