The following grep find/replace seems to work.

^(.+)\r(.+)$
\1,\2



On Wednesday, June 27, 2012 5:53:00 PM UTC-4, lumaflux wrote:
>
> I have documents that I need to remove the white space between the first 
> and second line and add a comma. For example before:
>
>    1. ¿Qué vas a comprar?
>    2. What are you going to buy?
>    3. Nosotros vamos a ir a la tienda.
>    4. We are going to go to the store.
>    5. ¿Puedes ir conmigo?
>    6. Can you go with me?
>    
>
> After:
>
>    1. ¿Qué vas a comprar?,What are you going to buy?
>    2. Nosotros vamos a ir a la tienda.,We are going to go to the store.
>    3. ¿Puedes ir conmigo?,Can you go with me?
>    
> What would be the best way to do this in BBedit (Applescript)? 
> I'm sure it's simple, but I can't get a hold on it.
>

-- 
You received this message because you are subscribed to the 
"BBEdit Talk" discussion group on Google Groups.
To post to this group, send email to bbedit@googlegroups.com
To unsubscribe from this group, send email to
bbedit+unsubscr...@googlegroups.com
For more options, visit this group at
<http://groups.google.com/group/bbedit?hl=en>
If you have a feature request or would like to report a problem, 
please email "supp...@barebones.com" rather than posting to the group.
Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>

Reply via email to