Can someone explain how the REGEX code below works? 
*(.)(?![^(]*\))*

I know it looks for digits, including two-digit numbers in parentheses, and 
extracts them and inserts a space after each one, but I do not know how the 
code starting with *(?* works.

Here is sample data for it:
010000000
(10)1140006x
002200010
00000(11)01x
311200

Here is output:
0 1 0 0 0 0 0 0 0 
(10) 1 1 4 0 0 0 6 x 
0 0 2 2 0 0 0 1 0 
0 0 0 0 0 (11) 0 1 x 
3 1 1 2 0 0 


-- 
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 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 bbedit+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bbedit/aa2c7738-44c7-4d75-b64e-7cf2655ffb4an%40googlegroups.com.

Reply via email to