Inserting search term within "No results behavior" Within the 'NO RESULTS BEHAVIOR' section of Views in Drupal 8 how do I output the search term along with some custom text using the "Unfiltered text" option?

My desired output is "No results found for search term, please..."

Can anyone suggest a solution?
you can use template_preprocess_views_view

 function template_preprocess_views_view(&amp;$variables) {
  $view = $variables['view'];
  $variables['view_total_count'] = $view-&gt;total_rows;

  if ($view-&gt;total_rows === 0) {
    $exposed_input = $view-&gt;getExposedInput();
    $search_term = $exposed_input['your search input'];
    $variables['empty'] = 'No results found for'.$search_term.', please ...';
  }
}


then in your twig template, you print the empty variable.