Inserting search term within "No results behavior"
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.