<?php $str = "Visit Bubbleslearn"; $pattern = "/bubbleslearn/i"; echo preg_match($pattern, $str); ?>