How to search for code in the theme file editor for all the files?

Hi,

Previous site admin added some JS code that I now need to remove. The problem is:

1. Was added by hand to any of the template files
2. I don’t know where
3. Prev admin not available for comments
4. Can’t access server shell to do a proper grep
5. I tried looking at the obvious files but the code is not there
6. Yes, the code is being rendered in the main page.
7. It’s not a plugin

Is there any way to search all theme files from the admin without shell access? This site is hosted in [wordpress.com](https://wordpress.com) can’t do shell access afaik.

​

EDIT: added #7

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer