I need help with a script that finds a date, then insert a paragraph break in front

D

Dave

I have a Script that finds a dtae using wildcards ??/??/????. I amto locate
all of the dates.

But I want to insert a paragrgraph break in front of this date. So I tried
replacing the date with a break ^P ??/??/???? but I get the wildcards
charaters instead. Is there a way to insert this break in front of the
date?

Thanks
 
D

Dave

search for the date, then do a left arrow to get just to the left of it then
do your insert... remember to step past it before starting the search again.
 
K

Klaus Linke

Dave said:
I have a Script that finds a dtae using wildcards ??/??/????. I amto locate
all of the dates.

But I want to insert a paragrgraph break in front of this date. So I tried
replacing the date with a break ^P ??/??/???? but I get the wildcards
charaters instead. Is there a way to insert this break in front of the
date?

Thanks


Hi Dave,

You'd use ^p^& in "Replace with".
^& re-inserts the matched text in both wildcard and normal replacements.

Greetings,
Klaus
 
D

Dave

Thank you!

That did the trick!!


Klaus Linke said:
Hi Dave,

You'd use ^p^& in "Replace with".
^& re-inserts the matched text in both wildcard and normal replacements.

Greetings,
Klaus
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top