Page 1 of 1
Posted: Wed Aug 31, 2005 8:31 pm
I having trouble with the program recognizing paragraph returns in a text file. i've tried several variations, none are working. The string below is where the problem is taking place:
The "^p" being what word spits out.
I've also tried this:
using the regular expressions code for carriage return.
thanks all for any help.
Posted: Wed Aug 31, 2005 9:21 pm
It's not quite clear what you need to do.
But we may help anyway:
for example you have the source text:
and you define the paragraph returns as ^p.
further suppose that your task is to replace ^p
if you use
it will not work. Because ^ is a reversed char (start of line).
What you need to use is
and you put needed text into
So: by using \ you make reserved char escaping (^ in our case).
Posted: Wed Aug 31, 2005 10:59 pm
thanks for your response.
i added the backslash, but alas, it doesn't seem to recognize the string.
Posted: Thu Sep 01, 2005 8:21 am
"Use regular expressions" should be ON.
BTW we are talking about Batch replace operation here.
Posted: Thu Sep 01, 2005 3:39 pm
yes, it is for batch replace.
I now have regular expressions check. but i'm still not having any luck.
here are the strings i've tried in the find field:
which has the code for carriage return
which is the Word paragraph code.