> On Sep 18, 2021, at 14:19, Ryan Noyes <ryan.w.no...@gmail.com> wrote:
> Seeking workflow advice for wrangling a genealogical GEDCOM file in such a 
> way that content normally appearing within the red box in this screenshot, 
> instead populates where the green box is.

Hey Ryan,

You did a good job explaining the problem and providing a sample to work with.  
The only thing you left out was an actual example of the desired end result.

One has to guess what you want done with the NOTE field.

I'm assuming you want it left blank, but I don't like to assume...

Try this:

Find:

(?-i)^(\d+\h+OCCU\h+)(.+)((?s)(.+?)\n^\d+\h+NOTE\h)(?-s)(.+)

Replace:

\1\5\3


--
Best Regards,
Chris

-- 
This is the BBEdit Talk public discussion group. If you have a feature request 
or need technical support, please email "supp...@barebones.com" 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 bbedit+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bbedit/27B8C6DE-0020-4D34-AC36-63AF805B14E9%40gmail.com.

Reply via email to