3v4l.org

run code in 300+ PHP versions simultaneously
<?php $domainPrice = 500; $lastColumn = 'Att betala 500,00SEK'; $test = preg_match('/(Att betala\s+)([0-9]+)(,00SEK)/gi', $lastColumn, $matches); var_dump($matches);

preferences:
37.79 ms | 402 KiB | 5 Q