Function worked yesterday but not today
Posted: Sat Sep 20, 2008 10:45 pm
This is so simple. It worked yesterday and today it won't work. I've read almost every post here and the DELETE TIL and DELETE BEFORE told me what to do and I did it yesterday. Exact same source files today, doesn't work.
Yesterday the text was stripped, today only <STBPageText> gets replaced with nothing.
I have a series of XML files where I want to delete everything after and including <STBPageText>
FIND:
<STBPageText>.*
REPLACE:
[nothing]
Character encoding is [Windows - 1252]
[X] Regular Expression
[X] Replacement Expression
[ ] "." does not match a new line character
I've tried ticking and unticking, changing the line ending types. I created a little text file with NotePad to emulate the data, just plain text, no luck.
This is my little text file:
blah blah blah
<STBPageText>
more stuff here
</STBPageText>
The result of the operation is:
blah blah blah
more stuff here
</STBPageText>
-----------------
I have almost 200,000 of these lil devils to strip.
Somewhere between 1:30am when I quite and went home and now, it just stopped working <sigh>. I've rebooted and done everything else I could think of.
I hope someone has a solution..thanks in advance
Yesterday the text was stripped, today only <STBPageText> gets replaced with nothing.
I have a series of XML files where I want to delete everything after and including <STBPageText>
FIND:
<STBPageText>.*
REPLACE:
[nothing]
Character encoding is [Windows - 1252]
[X] Regular Expression
[X] Replacement Expression
[ ] "." does not match a new line character
I've tried ticking and unticking, changing the line ending types. I created a little text file with NotePad to emulate the data, just plain text, no luck.
This is my little text file:
blah blah blah
<STBPageText>
more stuff here
</STBPageText>
The result of the operation is:
blah blah blah
more stuff here
</STBPageText>
-----------------
I have almost 200,000 of these lil devils to strip.
Somewhere between 1:30am when I quite and went home and now, it just stopped working <sigh>. I've rebooted and done everything else I could think of.
I hope someone has a solution..thanks in advance