3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php preg_match_all('/&lt;p&gt;\s.([a-zA-Z0-9- ]+)&lt;\/p&gt;/i', '&lt;p&gt; Picanto&lt;/p&gt; &lt;p&gt; Rio&lt;/p&gt; &lt;p&gt; ceed new&lt;/p&gt; &lt;p&gt; ceed sw new&lt;/p&gt; &lt;p&gt; pro ceed new&lt;/p&gt; &lt;p&gt; cerato&lt;/p&gt; &lt;p&gt; cerato KOUP&lt;/p&gt;', $result); print_r($result[1]);
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
Array ( [0] => icanto [1] => io [2] => eed new [3] => eed sw new [4] => ro ceed new [5] => erato [6] => erato KOUP )