Find: (\d)|\[(\d{2})\]

Replace: \1\2\n (or just \1\2 if using "Extract")

Either \1 or \2 will be empty, so no harm in including both in the replacement.


On 29 Jul 2021, at 1:19, Tim A wrote:

> How to not include the brackets as Howard asked? I figure it involves
> non-capture but it eludes me.

-- 
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/6F717E1B-2E0C-468A-8584-1E4789D913DC%40eygo.net.

Reply via email to