<?php
$sentences = [
'India is great country.',
'Indiana is great state.',
'I have worked in India.',
'India-based research.',
'India78 is not very strong password.'
];
$search = "India";
foreach ($sentences as $sentence) {
var_dump(preg_match("/\b$search\b/i", $sentence));
}