3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php preg_match_all( '/\[([\w]*?)\:([\w\W\s]*?)\]/' , '[email:optin|<u>Optin</u>]' , $matches); echo stristr($matches[1][0], 'email');
Output for 4.3.0 - 7.1.10
email