On 09/27/2018, at 16:18, Limore Ricciardi <[email protected] 
<mailto:[email protected]>> wrote:
> I basically want to replace these two lines with one line, leaving the 
> variable in tact.
> 
> so it will look like this:


Hey Limore,

That's easy enough.


Find:

(item2)\.X-ABRELATEDNAMES;type=pref:(.+)\n\1.+

Replace:

CATEGORIES:\2


I'm suspecting though data is more complex than your sample implies, so this 
pattern might need an embellishment or two.

--
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 to the group.
Follow @bbedit on Twitter: <https://www.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 post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/bbedit.

Reply via email to