Perfectly, thanks Kaveh!

- Marco.

On Friday, September 1, 2023 at 8:51:18 AM UTC+2 Kaveh Bazargan wrote:

> Doea this work?
>
> Search for 
> *"\[([0-9]+)\]"*
> Replace with
> *""*
>
> See here <https://regex101.com/r/7HVdXL/1>.
>
> On Fri, 1 Sept 2023 at 07:43, mrcmrc <mrc...@gmail.com> wrote:
>
>> Hi all, I would need help writing a Grep syntax to remove all square 
>> brackets and the numbers in them from a text. Basically, I have texts to 
>> which I would like to remove the numerical references in the notes. The 
>> numbers can be units, tens or hundreds.
>>
>> Example:
>>
>> Other conventions introduced by Doyle include the arch-criminal who is 
>> too clever for the official police to defeat, like Holmes's adversary 
>> Professor Moriarty, and the use of forensic science to solve cases.[1]
>>
>> The Sherlock Holmes stories established crime fiction as a respectable 
>> genre popular with readers of all backgrounds, and Doyle's success inspired 
>> many contemporary detective stories.[174] Holmes influenced the creation of 
>> other "eccentric gentleman detective" characters, like Agatha Christie's 
>> fictional detective Hercule Poirot, introduced in 1920.[175]
>>
>> Thanks!
>> - Marco.
>>
>> -- 
>> 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/474ff991-eb45-4ee6-b1b7-9d21e3a538f3n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/bbedit/474ff991-eb45-4ee6-b1b7-9d21e3a538f3n%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> ● @kave...@mastodon.social 
> <https://mastodon.social/@kaveh1000>
> *Accelerating the Communication of Research*
>
> * 
> <https://www.linkedin.com/posts/bazargankaveh_ismte-innovation-award-recipient-kaveh-bazargan-activity-7039348552526921728-XAEB/?utm_source=share&utm_medium=member_desktop>
>   [image: 
> https://rivervalley.io/gigabyte-wins-the-alpsp-scholarly-publishing-innovation-award-using-river-valleys-publishing-technology/]
>  
> <https://rivervalley.io/gigabyte-wins-the-alpsp-scholarly-publishing-innovation-award-using-river-valleys-publishing-technology/>*
>

-- 
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/635ffac9-6d91-4811-b856-2f6d637a297an%40googlegroups.com.

Reply via email to