find "value": "word or two or three" replace with "value": "?"
-
hi all,
can anyone advise how i can find “value”: “word or two” replace with “value”: “?”
I managed to use “value”: “\w*” but it only finds single words - anyway for it to find single and two or three words (basically anything inside the “”
regards
-
"[^"]*"
will find everything from one quote to the next. but I would personally make it slightly more restrictive, not allowing newlines, which would become"[^"\r\n]*"
So"value": "[^"\r\n]*"
will find one or more words in the second pair of quotes, without allowing it to go across multiple lines, and might be useful to you.----
Useful References
-
@PeterJones said in find "value": "word or two or three" replace with "value": "?":
“value”: “[^”\r\n]*"
perfect - I would never have got to that!!
thank you