3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = '2014-08-26 09:01:08;IP:95.173.147.4;GID:;REG:77;UID:;(nilovgai);http://www.gibdd.ru/;'; $a = preg_match('#(http[s]?://[^;]+);$#','1111<a href="\1" target="_blank">\1</a>',$a); echo $a;
based on Anjph
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.13.2, 7.0.0 - 7.1.0
0