K
K
katavagner2018-05-16 21:34:16
JavaScript
katavagner, 2018-05-16 21:34:16

How to replace spaces with $ inside double quotes?

The text is given, in which some sentences are in quotation marks. You need to replace the spaces that are only inside these quotes with a dollar sign. How to do it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
J
jasonOk, 2018-05-16
@katavagner

If you don't bother, then something like this:
https://jsfiddle.net/ws14krko/6/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question