I have the following example from dataframe df$team where I would like to remove all xyz characters (in any formation) before the capital letter. I've tried str_remove option, gsub options however it removes all instances of xyz.
teams <- c("yLaval", "xyHershey", "xyzToronto", "xTexas")
Looking for: "Laval", "Hershey", "Toronto", "Texas"
Thank you in advance