Searching by language

To restrict your search results to a specific language, use the language or lang filter. For example, the following search restricts the search results to the Java language:

helloworld language:java

You can also use the file filter, as shown in the following example:


Remember that searches use regular expressions by default. As a result, the following search doesn't work:


Instead, try the following searches: