Regmatches is a term in R programming. Sorry if it caused confusion.

On Tuesday, 27 July 2021 at 5:52:38 pm UTC-4 [email protected] wrote:

> Hey Howard,
>
> What exactly do you mean by “regmatches”?
>
> Find:
>
> (\d|\[\d+\])
>
> Replace:
>
> \1\n
>
> --
> Best Regards,
> Chris
>
> ------------------------------
>
> On Jul 27, 2021, at 14:41, Howard <[email protected]> wrote:
>
>
> I have a string of numbers like this:
>
> "12[11]4567[10]0"
>
> The string may be longer or shorter than the one shown above. The numbers 
> within the brackets always contain two digits.
>
> I need to extract the numbers so they appear like below, each number a 
> separate element. The format does not have to be vertical. I am just 
> presenting it that way for readability. 
>
> 1
> 2
> 11
> 4
> 5
> 6
> 7
> 10
> 0
>
> How can I do this using GREP and, if viable, 'regmatches'? 
>
>
>

-- 
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/618f5bf8-50e4-4838-ba8f-f611b2920489n%40googlegroups.com.

Reply via email to