fork download
  1. <?php
  2.  
  3. $str = "блабалабла за $95";
  4. echo preg_replace('/за \$\d+/', '', $str);
Success #stdin #stdout 0.01s 82624KB
stdin
Standard input is empty
stdout
блабалабла