Search found 7 matches

by jesuslives
Wed Apr 16, 2008 6:49 pm
Forum: General
Topic: replace blocks of words starting and ending with x and y
Replies: 17
Views: 2017

exact text

Gan, My first few posts wer examples only. My last post was an exact snippet from the 2MB text file. The exact "start word to replace is: creationtime: CREATIONTIME='2002-10-10T16:13:46' The exact end word is fs28: \ri140\plain\f5\fs28\cf0\b\protect [auto-insert: Please call me if I am not being ...
by jesuslives
Wed Apr 16, 2008 4:55 pm
Forum: General
Topic: replace blocks of words starting and ending with x and y
Replies: 17
Views: 2017

....more

I just saw the rest of your questions.

No, the first word to remove is almost never at the start of the line.

-Kevin
by jesuslives
Wed Apr 16, 2008 4:08 pm
Forum: General
Topic: replace blocks of words starting and ending with x and y
Replies: 17
Views: 2017

real sample

OK, sorry about that. Here is the exact text: I need to remove all of this text and place a carriage return after fs28. -Thanks CREATIONTIME='2002-10-10T16:13:46' LASTMODIFIEDTIME='2002-11-29T17:27:05' SCOPE='<FormScope><Modality>CR</Modality><BodyPart>CSPINE ...
by jesuslives
Wed Apr 16, 2008 3:26 pm
Forum: General
Topic: replace blocks of words starting and ending with x and y
Replies: 17
Views: 2017

duh....

I think I just upgraded unecessarily. My end string is \fs28. I can key off of s28 but it seems to have a problem going across multiple lines. It works fine as long as they are on the same line. The real END string is preceded by a backslash. START CREATIONTIME='2002-10-10T16:13:46' LASTMODIFIEDTIME ...
by jesuslives
Wed Apr 16, 2008 2:27 pm
Forum: General
Topic: replace blocks of words starting and ending with x and y
Replies: 17
Views: 2017

still doesn't work

START.+END ? (no quotes) Searching up or down will not find regular expression.

-Kevin
by jesuslives
Wed Apr 16, 2008 1:49 pm
Forum: General
Topic: replace blocks of words starting and ending with x and y
Replies: 17
Views: 2017

didn't work

Gan,
That doesn't work. You understand correctly what I am trying to do. I am trying to remove everything including start & end.

I am typing in the "Find What" box: START.+END

The error says "cannot find regular expression.

Thanks,

Kevin
by jesuslives
Wed Apr 16, 2008 12:50 pm
Forum: General
Topic: replace blocks of words starting and ending with x and y
Replies: 17
Views: 2017

replace blocks of words starting and ending with x and y

I am trying to do a Replace All. I need to remove all sections with certain words.

Starting word is START (a bunch of words which vary) and ending word is END
Example:
1234 START more words END 123
1234 START xyz END 123
textpad is fun START abc END la la la