Thanks. I just tried it for the first time. It is good to know about.
Howard

On Saturday, 31 July 2021 at 12:52:48 pm UTC-4 TJ Luoma wrote:

>
> Try pasting it into https://regexr.com
>
> That's what I usually use to translate regex into English :-)
>
>
>
> On Sat, Jul 31, 2021 at 10:20 AM Howard <[email protected]> wrote:
>
>> 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 "[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/aa2c7738-44c7-4d75-b64e-7cf2655ffb4an%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/bbedit/aa2c7738-44c7-4d75-b64e-7cf2655ffb4an%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
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/93a51880-91c0-48ff-b25a-b2c76916a932n%40googlegroups.com.

Reply via email to