Good work Tim. And your solution ensures any slight variations like double spaces are also caught.
On Sat, 27 Nov 2021 at 01:10, Tim A <[email protected]> wrote: > 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 > <https://groups.google.com/d/msgid/bbedit/5a72359c-3290-4fd4-90d2-5510a62255a3n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- Kaveh Bazargan PhD Director River Valley Technologies <http://rivervalley.io> ● Twitter <https://twitter.com/rivervalley1000> ● LinkedIn <https://www.linkedin.com/in/bazargankaveh/> ● ORCID <https://orcid.org/0000-0002-1414-9098> *Accelerating the Communication of Research* -- 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/CAJ2R9phn5J9VdwyGanz3HzE%2B3m2EUCfe37%2BgMkZMqsicAdN9Cw%40mail.gmail.com.
