> On Jun 12, 2020, at 18:56, mrcmrc <[email protected]> wrote:
> 
> Hi,
> someone may help me? Usually I can do some very simple replacements, but I 
> don't have great experience with Grep syntax...
> 
> I have a block of text like this:
> 
> Miles Davis – trumpet
> John Coltrane – tenor saxophone
> Red Garland – piano
> Paul Chambers – double bass
> Philly Joe Jones – drumset
> 
> and wish to get this:
> 
> Miles Davis, John Coltrane, Red Garland, Paul Chambers, Philly Joe Jones

Search:

 – .*\n

Replace:

, 

there is a space at the beginning of the search string
and one at the end of the replace one.


-- 
Jean-Christophe Helary @brandelune
http://mac4translators.blogspot.com

-- 
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/C68AAB2D-E41D-4DBC-A02E-FF609A133A7A%40traduction-libre.org.

Reply via email to