How to get text inside quote("asd") after value -> "name":
like:
"name":"John","name":"1-John", "name":"123", "name":"123","name":"A0-0s".
I need to get all inside quote(""):
John
1-John
123
A0-0s
How to get text inside quote("asd") after value -> "name":
like:
"name":"John","name":"1-John", "name":"123", "name":"123","name":"A0-0s".
I need to get all inside quote(""):
John
1-John
123
A0-0s
The regular expression you can use is: \"name\":\"([a-zA-Z0-9--])+\"
. Due to the brackets '()' the required result will be present in the first group of the regex match.
However in case you have multiple combinations in a single string like the one you had in the example, remember to use find() or search() method and read more about search and match methods.