This is exactly what I was looking for – it works perfectly. Many thanks, Kaveh!

Kaveh wrote on 13.08.21 11:51:
Hi Samar

From memory, positive look behind is limited, so use look ahead. This one works for me:

*Search*: (.+?\t.+?)\t(.+)\r(?=\1)
*Replace*: \1\t\2\r_\3

--
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/40f987a0-55ea-39bf-b9c8-b4e468009732%40bluewin.ch.

Reply via email to