GEDitCom finally replied that there is option to turn the code off. Had no 
idea! So that deletes needing to replace the  1 _PLACE and the unique id 
1 _GCID. I'm left with the 1 AFN.  Will try your suggestion.

On Monday, November 15, 2021 at 8:49:06 PM UTC-5 [email protected] wrote:

> On Nov 15, 2021, at 15:18, R B COHEN <[email protected]> wrote:
>
> 1 _GCID 94D0C28F-7346-4AC7-96D1-147294BADAF1
>
> ------------------------------
>
> Hey R B,
>
> Is this the start of the line?
>
> Are these always _GCID numbers?
>
> Is the hyphenated alphanumeric string always 36 characters?
>
> Something like this:
>
> Find:
>
> (?-i)^.*[0-9A-Z]{8}-[0-9A-Z]{4}-[0-9A-Z]{4}-[0-9A-Z]{4}-[0-9A-Z]{12}.*\n?
>
> Replace:
>
> Nothing
>
> I then need to Find & Replace:
>
>
> FIND:
>
>
> 1 AFN  123.123.123  
>
> REPLACE: 
>
> 1 FACT 123.123.123  \n
> 2 TYPE Reference
>
>
> Something like this:
>
> Find:
>
> (\d+)\h+AFN\h+\b(\d+\.\d+\.\d+)\b
>
> Replace:
>
> \1 FACT \2\n2 TYPE Reference\n
>
> --
> Best Regards,
> Chris
>
>

-- 
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/99868774-ac2a-4ac9-9901-b7895482834dn%40googlegroups.com.

Reply via email to