code: private String removeScriptTags(String input) {
  
          Pattern removePattern = Pattern.compile("<script[^>]*?>[\\s\\S]*?<\\/script>");
          Matcher match = removePattern.matcher(input);
          return match.replaceAll("");
      }
docs: Removes all script tags from given input.<p>
  
  @param input the input to remove script tags from
  
  @return the cleaned input