Search found 3 matches

by bottyang
Wed Dec 20, 2006 11:25 pm
Forum: WildEdit
Topic: Multiple-line xml tag search/replace in WildEdit?
Replies: 5
Views: 1508

It works here with the sample text you gave earlier. Has your search pattern got a space at the end of it? It shouldn't have. There is no space at the end of my search pattern. Did you deselect the option '.' does not match a newline character ? Yes, I deselected this option. Still, it doesn't work ...
by bottyang
Tue Dec 19, 2006 6:55 pm
Forum: WildEdit
Topic: Multiple-line xml tag search/replace in WildEdit?
Replies: 5
Views: 1508

F ind what: <s>(?!.*<IINF>.*).*?</s> R eplace with: [nothing] [ X ] Regular e x pression [ X ] Rep l acement format Options [ ] '.' does not match a newline character [i.e., not selected] Many thanks for the quick reply. Tried it, but it didn't seem to be working. This is the log I got: === BEGIN ...
by bottyang
Tue Dec 19, 2006 11:56 am
Forum: WildEdit
Topic: Multiple-line xml tag search/replace in WildEdit?
Replies: 5
Views: 1508

Multiple-line xml tag search/replace in WildEdit?

Hi All, I have 400+ XML files, and I need to discard those parts of these which do not contain an element embedded in another element that spans many lines. More specifically, I need to keep <s> elements such as <s> <NOOJLU LEMMA="," CAT="WPUNCT">,</NOOJLU> <NOOJLU LEMMA="mint" CAT="Con">mint ...