- print_r: documentation ( source)
- array_filter: documentation ( source)
- preg_split: documentation ( source)
- preg_replace: documentation ( source)
<?php
$string = "This is my Store, it has an amazing design; its creator says it was losing money and he doesn't want to maintain it";
$words = array_filter(preg_split('/\s+/', preg_replace('/\W|\b(it|the|its|is|to)|\b/i', ' ', $string)));
print_r($words);