I’m trying to get a regular expression for:
{"Place": "DENMARK", "ID": "9513436", "trains_used": 3, "Current": "_ ___ ____"}
to get the output as this:
DENMARK 9513436 3 "_ ___ ____"
But I’m not getting how to capture the whole word. Can anybody give me the regular expression for this?
EDIT: Yes it is a JSON string. But I don’t know JSON
EDIT: I’m trying to use string.split() in Java.
1 Answer