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'? 

Howard


-- 
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/3afa4062-30a6-4238-a32c-1ff631e1aee1n%40googlegroups.com.

Reply via email to