Code Search on GitHub Repositories and its file content

i am looking to scan through Enterprise Github repositories and its file content. Would like to search with specific keywords, regular expressions etc. What is best approach to figure this out ?

  1. Is there any Github tools out there ?
  2. Through GitHub REST API
  3. Anything else ?

The regular GitHub Search should do what you want. That is the search bar at the top left.