I've got a chunk of JSON that looks like this:

```
{"id": "2345", "in": "sadfasd647", "name": "Delta", "created": "2018-01-19", "updated": ""}

```

Unfortunately, the service I'm sending this too doesn't handle blank entries. I have limited control over the source, so I'm looking for some Java Regex that I can use with `ReplaceAll` to get rid of all empty entries.

The result should look like:

```
{"id": "2345", "in": "sadfasd647", "name": "Delta", "created": "2018-01-19"}

```

The closest I've got is this:

```
string.replaceAll(",?\"*\":\\", "");

```

But I'm getting this error:

> 
> java.util.regex.PatternSyntaxException: Unexpected internal error near index 7
> 
> 
>