time_regex <- function() {
"(0|1|2){0,1}\\d:(0|3)0"
}
interval_regex <- function() {
str_c(time_regex(), "-", time_regex())
}
complete_regex <- function(x) {
str_c("^", x, "$")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.