PHP Demo
PHP Code Output

The Markup and jQuery code

A demo of strpos with $.ajax

Result: