Is there a java or php program where it searches for specific chosen code? say search engine codes but for website code specifically.

is there a program out like this that i can implement or has it not been officially created yet.

I know search engines use this specific code.

Is it Java, PHp, or AJAX, or what.