mercredi 2 avril 2014

escape string but not in "'s


Vote count:

0




I have a string like:



word1 \nword2 "word3 \nword4" word5 \nword6


and I want to became like



word1
word2 "word3 \nword4" word5
word6


I couldn't write any success regexp pattern. Is this possible ?



asked 39 secs ago






Aucun commentaire:

Enregistrer un commentaire