1. if (is_mobile()){
  2.     echo preg_replace("/\< *[img][^\>]*[.]*\>/i","",get_the_content(),1);
  3. }else{
  4.     the_content();
  5. }