Sunday, December 18, 2022

Atom and Substitute carraige return only in part of string

Hi,

Getting this awfull string containing several carriage return, seome of them would to be substitute with space, seome others with nothing.

0.003^@99,"0;0;0^@0;0;0^@0;0;0^@0;0;0^@0;0;0^@0;0;0^@0;0;0^@0;0;0","0;0;0^@0;0;0^@0;0;0^@0;0;0^@0;0;0^@0;0;0^@0;0;0^@0;0;0",0.0,0.0,0.0,0.0001,0.003^@

Using atom, I search and fix part of string where carriage return need to be replaced by space : this is the atom pattern \zs,"[^"]\+"\ze


How to only substitute on these focused part of string ?
Thank you
N i c o l a s


--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/ba410108-91e7-45ce-8327-f8b1d3860a34n%40googlegroups.com.

No comments:

Post a Comment