$re = '/([.?!])[^.?!]*?BBB[^.?!]*?[.?!]/m';
$str = 'This is the entire article....Fishing vessel crews are almost entirely male, yet women make up a large proportion of workers on the land, mending nets or picking shellfish from sand. This is the sentence I want to exclude which contains BBB on it but text goes on without exclude anything else also the specific sentence changes from txt files just the word BBB stay inside it so on each file the sentence will be different.. Just the As co-founder of Women In The Food Industry, I was curious as to why this was the case, so asked several women in the seafood market why they felt this pattern has continued into the 21st century and to share their thoughts on how we might improve the visibility of women in the seafood industry.';
$subst = "\1";
$result = preg_replace($re, $subst, $str);
echo "The result of the substitution is ".$result;
Please keep in mind that these code samples are automatically generated and are not guaranteed to work. If you find any syntax errors, feel free to submit a bug report. For a full regex reference for PHP, please visit: http://php.net/manual/en/ref.pcre.php