Reputation: 15
i have a Nodejs project that uses single quotes and double quotes but now I want to follow same standard(use double quotes in entire of the project). so how to replace all the single quotes to double quotes?
i search them like this
'(.+?)'
but how to replace them?
Upvotes: 0
Views: 115
Reputation: 723
The open and close quotes are the same, just search '
and replace with "
.
Upvotes: 1
Reputation: 352
Click the icon on the left of the search that looks like >
, then you can put in your replacement string.
As a side note, you can also simply search for '
and replace with "
. Be careful when doing this - review the instances of '
first, or replace one by one.
Upvotes: 1