Search found 6 matches
- Thu Apr 03, 2008 3:54 pm
- Forum: WildEdit
- Topic: RegEx replacement problem -- SOLVED
- Replies: 10
- Views: 2322
Well, there's no need to post the log at least - I've just tried it again and it worked - I think I copied a space on the end of your expression the first few times Anyway, it worked a treat! Thanks so much for helping, and for letting me get you utterly confused. At some point I'll set aside some ...
- Thu Apr 03, 2008 3:04 pm
- Forum: WildEdit
- Topic: RegEx replacement problem -- SOLVED
- Replies: 10
- Views: 2322
Your suggestion: Find what: <area href="../SMDdata/([^"]+).htm" (?=.*<map id="othimgMap") Replace with: <area href="../ATPdata/$1.htm" $2 [ X ] Regular expression [ X ] Replacement format Options [ ] '.' does not match a newline character [i.e., not selected] Doesn't work at my end. I was asking if ...
- Thu Apr 03, 2008 2:38 pm
- Forum: WildEdit
- Topic: RegEx replacement problem -- SOLVED
- Replies: 10
- Views: 2322
Sorry - What actually happened is this: I managed to replace the first instance of ../SMDdata in the files by running the following straight replace: Replace: <map id="imgMap" name="imgMap"> <area href="../SMDdata/ With: <map id="imgMap" name="imgMap"> <area href="../ATPdata/ All my ranting about it ...
- Thu Apr 03, 2008 1:26 pm
- Forum: WildEdit
- Topic: RegEx replacement problem -- SOLVED
- Replies: 10
- Views: 2322
Haha, trust me to choose one of the few files that didn't have any points in them! :) this one's a little more typical: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" > <meta http-equiv="Page-Enter ...
- Thu Apr 03, 2008 12:55 pm
- Forum: WildEdit
- Topic: RegEx replacement problem -- SOLVED
- Replies: 10
- Views: 2322
Thanks for the quick reply! Unfortunately - that makes no replacements. is there a setting I'm missing? Currently my options looks like: []Use POSIX extended... []Use locale specific collation.. []Newline separates alternatives []'|' is literal unless escaped []'+' and '?' is literal unless escaped ...
- Thu Apr 03, 2008 11:04 am
- Forum: WildEdit
- Topic: RegEx replacement problem -- SOLVED
- Replies: 10
- Views: 2322
RegEx replacement problem -- SOLVED
Hi there, I've been wrapping my head round this for some time: I have a set of 361 HTML files, which each contain two mapped .gif images (for hotspots). I need to replace instances of <area href="../SMDdata/XXX.htm" alt="XXX" title="XXX" shape="rect" coords="x,x,x,x"> where 'XXX' is a string of ...