fork download
  1. string <- c("enter > shop.christopherspenn.com/test > convert","enter > shop.christopherspenn.com/page5 > convert","enter > shop.christopherspenn.com/ > convert","enter > christopherspenn.com/test > convert")
  2. sub('\\bshop\\.christopherspenn\\.com[^>]*>\\s*', '', string)
Success #stdin #stdout 0.22s 38868KB
stdin
Standard input is empty
stdout
[1] "enter > convert"                            
[2] "enter > convert"                            
[3] "enter > convert"                            
[4] "enter > christopherspenn.com/test > convert"