<?php $str = '1000 - 2,000';$str = preg_replace('/\s+/', '', $str);// zero limit$str = explode('-',$str); echo $str[1]; ?>
Standard input is empty
2,000
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!