@ottilie.farrell Вы можете использовать функцию str_replace в PHP и заменить определенные слова/символы, пример:
1 2 3 4 5 6 |
<?php $text = 'Lorem ipsum dolor sit amet, consectetur adipiscing elit.'; // ipsum sit amet consectetur adipiscing elit. echo str_replace(['Lorem', 'dolor', ','], '', $text); |