What could be the better solution to get the date only, it is a tag of a webpage.
I hope someone could help me.

The patterns is this value in many pages "publishedAtDate":"2020-02-07"

I would like to have the next outcome:
2020-02-07

I am using this code:

```
art_publishdate<-regexpr("publishedAtDate\":\"[0-9]{4}-[0-9]{2}-[0-9]{2}\"", thepage)

```

but the result include many backslashes.

```
[1] "publishedAtDate\":\"2020-02-07\""

```

Thank you