grep search for 

\\[^,]+

and replace with nothing


On Friday, November 13, 2020 at 8:27:05 AM UTC-5 Howard wrote:

> I have a dataset with a number of lines of data like this one:
>
> *1956,ML,Don Newcombe\newcodo01,BRO,4.5,27,7,0,3.06,268.0,139*
>
> In each line, in its third entry (in the above it is *Don 
> Newcombe\newcodo01*) I want to remove everything from the backslash up to 
> but not including its ending comma, so for the above line the output would 
> be this: 
>
> *1956,ML,Don Newcombe,BRO,4.5,27,7,0,3.06,268.0,139*
>
> How can I do that?
>
> Thanks,
> Howard
>
>

-- 
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/64b905b8-2ffa-45ed-9bfa-3f49cb55ac89n%40googlegroups.com.

Reply via email to