Yes, it worked. Thank you for your help.

On Friday, 13 May 2022 at 1:58:40 pm UTC-4 Kaveh wrote:

> Search: (.+?)\((\d\d)\), ([A-Z])
> Replace: \2 \3
>
> Press "Extract"
>
> [image: Screenshot 2022-05-13 at 18.55.59.png]
>
>
> On Fri, 13 May 2022 at 17:41, Howard <leadwi...@gmail.com> wrote:
>
>> Using GREP, how can I detect those strings that contain double-digit 
>> numbers?
>>
>> *Sample input*
>>
>> CG(10), W
>>
>> CG(11), W
>>
>> CG(6), W
>>
>> CG(17), L
>>
>> SHO(5), W
>>
>> I have a column with text values such as those shown above. I need to 
>> identify those rows that contain a double-digit value between the 
>> parentheses (the numbers will always be within parentheses) and then 
>> extract for each just the number and the letter that follows the comma.
>>
>> *Sample output*
>>
>> 10 W
>>
>> 11 W
>>
>> 17  L
>>
>> -- 
>> This is the BBEdit Talk public discussion group. If you have a feature 
>> request or need technical support, please email "sup...@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+un...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/bbedit/f27bd294-261c-42a7-a1a5-a9b2951afef6n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/bbedit/f27bd294-261c-42a7-a1a5-a9b2951afef6n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>
>
> -- 
> Kaveh Bazargan PhD
> Director
> River Valley Technologies <http://rivervalley.io> ● Twitter 
> <https://twitter.com/rivervalley1000> ● LinkedIn 
> <https://www.linkedin.com/in/bazargankaveh/> ● ORCID 
> <https://orcid.org/0000-0002-1414-9098>
> *Accelerating the Communication of Research*
>

-- 
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/542c94c6-a198-40c4-ba54-92e3e125820an%40googlegroups.com.

Reply via email to