pt_time_extract<-function(string){
string %>%
stringr::str_extract("\\d{2}/\\d{2}/\\d+") %>%
lubridate::dmy()
}
sub<- function(string,start,end,value){
stringr::str_sub(string,start,end) <- value
string
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.