I need a simple regex that will remove all line breaks after comma. right know what I'm doing is removing all
/g
what do I need to add in order to remove only after comma? thanks.
Use
replace(/, /g,"")
For example
" , ".replace(/, +/g,",")
2.1m questions
2.1m answers
60 comments
57.0k users