Thanks for the feedback, Don. This is possible using the Replace with Regular Expression command, Control+Shift+R, rather than the regular Replace command, Control+R. TextPal documentation does not cover all the tokens and other syntax available in regular expressions of the Ruby language. The support is fairly complete, however, similar to Perl's. I just tried your example successfully with the following search expression \n(\d+) and the following replace expression \\1 (There is a single space at the beginning of the replace expression.) Hope this helps, Jamal On Thu, 10 May 2007, Donald L. Roberts wrote: > Date: Thu, 10 May 2007 08:53:56 -0700 > From: Donald L. Roberts <donald_roberts_99@xxxxxxxxx> > Reply-To: guispeak@xxxxxxxxxxxxx > To: guispeak@xxxxxxxxxxxxx > Subject: [guispeak] Text pal suggestion > > Hello, > > I have taken the liberty of placing this request on list since I > know that Jamal monitors this list, and I do not know to what > address he would want such a suggestion sent. > > Jamal, Text Pal is wonderful. There is one command which I think > you may refer to as a token which I would like to see included in > a future release. > > Regular expression programs usually include a token to represent > any number. I would very much like to see this token included in > Text Pal. Just yesterday, for example, I had occasion to change > every occurrence of a new line followed by a number to a space > followed by that same number. So, since there was no such token, > I had to go through the tedious process of replacing new line 1 > with space 1, then the same thing for 2 through 9. > > This is not a big deal, it would just be a great enhancement. > Thanks for listening. > > 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