Re: Inserting blank lines question
2010-07-30 07:45:46
will
Previous | Next
I'm not familiar with the "&" approach! For a regular-expression method, I'dusefind: ^\(replace: \r("^" matches "start-of-line""\(" matches a literal left-paren (usually parens, without the backslash,start a sub-expression for matching)"\r" is a macintosh newline character (carriage return)"(" inserts the paren we "replaced" in the find-fieldOn Fri, Jul 30, 2010 at 1:06 AM, PaulL <luckas@[Protected]> wrote:> Found it - "&" - sorry.>> On Jul 30, 1:22 pm, PaulL <luc...@cyllene.uwa.edu.au> wrote:> > I'm trying find a way to insert a blank line (or lines) above text> > that starts with a particular character. E.g., Every line that starts> > with a left parenthesis needs to have a blank line inserted above it.> > I don't know what to specify as my replacement - given that each of> > the lines may contain different characters after the parenthesis.>> --> You received this message because you are subscribed to the> "TextWrangler Talk" discussion group on Google Groups.> To post to this group, send email to textwrangler@[Protected]> To unsubscribe from this group, send email to> textwrangler+unsubscribe@[Protected]<textwrangler%2Bunsubscribe@[Protected]>> For more options, visit this group at> http://groups.google.com/group/textwrangler?hl=en> If you have a feature request or would like to report a problem,> please email "support@[Protected]" rather than posting to the group.>-- will trillich"Sometimes life's gonna hit you in the head with a brick. Don't lose faith."-- Steve Jobs-- You received this message because you are subscribed to the "TextWrangler Talk" discussion group on Google Groups.To post to this group, send email to textwrangler@[Protected]To unsubscribe from this group, send email totextwrangler+unsubscribe@[Protected]For more options, visit this group athttp://groups.google.com/group/textwrangler?hl=enIf you have a feature request or would like to report a problem, please email "support@[Protected]" rather than posting to the group.