3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php preg_match("/\/store\/[^\/]*\/(.*)$/i", '/store/uk/category/subcat/shop.html', $matches); var_dump($matches);
based on XJT80
Output for 5.3.18 - 7.3.0beta1
array(2) { [0]=> string(35) "/store/uk/category/subcat/shop.html" [1]=> string(25) "category/subcat/shop.html" }