fork(1) download
  1. <?php
  2. $haystack = "4 x 3XS - € 202,00, L, 2XS, 4 x XS - € 202,00, S € 2";
  3. echo preg_replace('/(?<=€\s)(\d*,?\d+)/','',$haystack);
  4. ?>
  5.  
Success #stdin #stdout 0.02s 23696KB
stdin
Standard input is empty
stdout
4 x 3XS - € , L, 2XS, 4 x XS - € , S €