> 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/69FE4A06-4696-494E-9E94-157C083472D1%40gmail.com.

Reply via email to