I tried to do what you want with TextPal and discovered a problem with how replacement substitutions were being handled with regular expressions. I've fixed the problem and posted an updated TextPal at http://www.EmpowermentZone.com/palsetup.exe (It may be installed over a prior version.) For the search string, use (\d+)\n For the replacement string, use \1 There is a single space at the end of the replacement string. Hope this helps, Jamal On Thu, 7 Sep 2006, Donald L. Roberts wrote: > Date: Thu, 7 Sep 2006 13:29:32 -0700 > From: Donald L. Roberts <donald_roberts_99@xxxxxxxxx> > Reply-To: guispeak@xxxxxxxxxxxxx > To: guispeak@xxxxxxxxxxxxx > Subject: [guispeak] Using text pal with regular expressions > > > > Hello, > > In looking through the docs for Text Pal, I cannot seem to find > the appropriate symbols for regular expressions. I hope to > locate the syntax for accomplishing the following: > > In this text document, I want to locate all occurrences of a crlf > pair preceeded immediately by one or more digits. I now wish to > replace all such occurrences with the same digits followed by > ascii 32. > > I subsequently located backslash p to represent the crlf pair > and backslash d to represent any digit. However, please could > you supply the syntax necessary to accomplish the above task. > > Thank you. > > Cordially, > > Don Roberts > > > ** To leave the list, click on the immediately-following link:- > ** [mailto:guispeak-request@xxxxxxxxxxxxx?subject=unsubscribe] > ** If this link doesn't work then send a message to: > ** guispeak-request@xxxxxxxxxxxxx > ** and in the Subject line type > ** unsubscribe > ** For other list commands such as vacation mode, click on the > ** immediately-following link:- > ** [mailto:guispeak-request@xxxxxxxxxxxxx?subject=faq] > ** or send a message, to > ** guispeak-request@xxxxxxxxxxxxx with the Subject:- faq > ** To leave the list, click on the immediately-following link:- ** [mailto:guispeak-request@xxxxxxxxxxxxx?subject=unsubscribe] ** If this link doesn't work then send a message to: ** guispeak-request@xxxxxxxxxxxxx ** and in the Subject line type ** unsubscribe ** For other list commands such as vacation mode, click on the ** immediately-following link:- ** [mailto:guispeak-request@xxxxxxxxxxxxx?subject=faq] ** or send a message, to ** guispeak-request@xxxxxxxxxxxxx with the Subject:- faq