<?php $str = "блабалабла за $95";echo preg_replace('/за \$\d+/', '', $str);
Standard input is empty
блабалабла
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!