PHP RegEx Replace accents of each selected word | Drupal 8