vld_time_regex <- function(x) {
vld_string(x) && str_detect(x, complete_regex(time_regex()))
}
vld_interval_regex <- function(x) {
vld_string(x) && str_detect(x, complete_regex(interval_regex()))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.