Jim, u miss the point--there are times when there might be 5 or more consecutive line breaks. Using the {3,} means replace 3 or more. Using \n\n\n as u suggest makes it necessary to perform the search-&-replace multiple times. Like I said, the weird thing is, that when I perform that regexp using EdSharp w/a file open, it works like a charm. When using the alt= file transform command, however, it drops like a rock. Is Jamal on this list anymore, or would I be better off contacting him privately regarding this, u think? On 10/29/12, Homme, James <james.homme@xxxxxxxxxxxx> wrote: > Hi Jacky, > What happens if you use \n\n\n for the first expression? > > Jim > > > -----Original Message----- > From: program-l-bounce@xxxxxxxxxxxxx [mailto:program-l-bounce@xxxxxxxxxxxxx] > On Behalf Of Jackie McBride > Sent: Friday, October 26, 2012 4:51 PM > To: program-l > Subject: [program-l] EdSharp & transform file > > Have u guys checked out how powerful this editor actually is? I > mean--seriously! > > But I'm having a problem. > > The transform file is supposed to contain 3 lines per task: > 1) a comment; > 2) the regular expression to search on; & > 3) the substitution. > > So, my code looks like: > remove > 2 line feeds > \n{3,} > \n\n > > It doesn't work. It says 0 matches. Any1 got any ideas why? For those who > might be a bit fuzzy regarding regular expressions, \\n{3,} means remove 3 > or more consecutive line feeds. The weird thing is that when I press control > shift r to do this as a regular expression search-&-replace, it works as > expected. Am I doing something wrong, or might this be a problem for Jamal? > > -- > Blame the computer--why not? It can't defend itself & occasionally might > even be the culprit Jackie McBride Ask Me Computer Questions at: > www.pcinquirer.com Jaws Scripting training materials: > www.screenreaderscripting.com > homePage: www.abletec.serverheaven.net > ** To leave the list, click on the immediately-following link:- > ** [mailto:program-l-request@xxxxxxxxxxxxx?subject=unsubscribe] > ** If this link doesn't work then send a message to: > ** program-l-request@xxxxxxxxxxxxx > ** and in the Subject line type > ** unsubscribe > ** For other list commands such as vacation mode, click on the > ** immediately-following link:- > ** [mailto:program-l-request@xxxxxxxxxxxxx?subject=faq] > ** or send a message, to > ** program-l-request@xxxxxxxxxxxxx with the Subject:- faq > > ________________________________ > > This e-mail and any attachments to it are confidential and are intended > solely for use of the individual or entity to whom they are addressed. If > you have received this e-mail in error, please notify the sender immediately > and then delete it. If you are not the intended recipient, you must not > keep, use, disclose, copy or distribute this e-mail without the author's > prior permission. The views expressed in this e-mail message do not > necessarily represent the views of Highmark Inc., its subsidiaries, or > affiliates. > -- Blame the computer--why not? It can't defend itself & occasionally might even be the culprit Jackie McBride Ask Me Computer Questions at: www.pcinquirer.com Jaws Scripting training materials: www.screenreaderscripting.com homePage: www.abletec.serverheaven.net ** To leave the list, click on the immediately-following link:- ** [mailto:program-l-request@xxxxxxxxxxxxx?subject=unsubscribe] ** If this link doesn't work then send a message to: ** program-l-request@xxxxxxxxxxxxx ** and in the Subject line type ** unsubscribe ** For other list commands such as vacation mode, click on the ** immediately-following link:- ** [mailto:program-l-request@xxxxxxxxxxxxx?subject=faq] ** or send a message, to ** program-l-request@xxxxxxxxxxxxx with the Subject:- faq