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:
@NewCourse:New Course^p@Title:
The "^p" being what word spits out.
I've also tried this:
@NewCourse:New Course\x0d@Title"
using the regular expressions code for carriage return.
thanks all for any help.
krik
paragraph returns
Hi Kirk,
It's not quite clear what you need to do.
But we may help anyway:
for example you have the source text:
@NewCourse:New Course^p@Title:
and you define the paragraph returns as ^p.
further suppose that your task is to replace ^p
by AAA
if you use
search for:
^p
it will not work. Because ^ is a reversed char (start of line).
What you need to use is
search for:
\^p
and you put needed text into
Replace with:
AAA
So: by using \ you make reserved char escaping (^ in our case).
It's not quite clear what you need to do.
But we may help anyway:
for example you have the source text:
@NewCourse:New Course^p@Title:
and you define the paragraph returns as ^p.
further suppose that your task is to replace ^p
by AAA
if you use
search for:
^p
it will not work. Because ^ is a reversed char (start of line).
What you need to use is
search for:
\^p
and you put needed text into
Replace with:
AAA
So: by using \ you make reserved char escaping (^ in our case).
paragraph returns
thanks for your response.
i added the backslash, but alas, it doesn't seem to recognize the string.
krik
i added the backslash, but alas, it doesn't seem to recognize the string.
krik
paragraph returns
morning.
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:
Course:New Course\x0d@Title
which has the code for carriage return
Course:New Course\^p@Title
which is the Word paragraph code.
thanks again.
krik[/list]
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:
Course:New Course\x0d@Title
which has the code for carriage return
Course:New Course\^p@Title
which is the Word paragraph code.
thanks again.
krik[/list]