Re: Need to extract all digits from string

2021-07-29 Thread Christopher Stone
On Jul 29, 2021, at 00:19, Tim A wrote: > How to not include the brackets as Howard asked? I figure it involves > non-capture but it eludes me. Eh? Hmm. I must have been tired. Find: \[(\d+)\]|(\d) Replace: \1\2\n -- Best Regards, Chris -- This is the BBEdit Talk public discussion

Re: Need to extract all digits from string

2021-07-29 Thread Donald Goyette
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

Re: Need to extract all digits from string

2021-07-29 Thread Tim A
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 "supp...@barebones.com" rather than posting here. Follow @bbedit on