Thanks all! This was great. It encouraged me to wrestle with negative 
lookbehind, spot some problems (the phone numbers had format variations) 
and make some simplifications. Here is what I came up with:


Find:          (?<!\d|\()\n(Joint.*|Senior.+|Single.*)$           any line 
that begins with a digit or left parenthesis is a phone number

Replace:    \n\n\1

-- 
This is the BBEdit Talk public discussion group. If you have a feature request 
or need technical support, please email "[email protected]" rather than 
posting here. Follow @bbedit on Twitter: <https://twitter.com/bbedit>
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bbedit/5a72359c-3290-4fd4-90d2-5510a62255a3n%40googlegroups.com.

Reply via email to