Reputation: 59
How to replace brackets {} by double inverted commas"" in Notepad++
title={key players in the earth system},
author={Devid, Jhon A and SWAT, David J and Franks, Peter J},
journal={Current opinion in plant biology},
After replaced, it would be
title="key players in the earth system",
author="Devid, Jhon A and SWAT, David J and Franks, Peter J",
journal="Current opinion in plant biology",
Upvotes: 1
Views: 257
Reputation: 521028
Try the following find and replace all in regex mode:
Find:
\{(.*?)\}
Replace:
“$1”
Nothing magical here, though it should be noted that the regex pattern .*?
uses a lazy dot. The ?
tells the regex to stop upon hitting the first closing bracket. If we used .*
instead, the regex would consume everything until the very last closing bracket.
Update:
The above find and replace should be working, but as an alternative pattern you could try:
\{([^}]*)\}
Upvotes: 3