Javascript Search String Using Python In Rstudio