# NOT RUN {
utils_gsub_if_found(
"^glasgow", c("glasgow-entrepreneurs", "aberdeen-entrepreneurs"),
"(?<=-).+$", "merchant", "edinburgh-entrepreneurs", "pattern not found",
TRUE, TRUE
)
# }
Run the code above in your browser using DataLab