3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = 'askdfjl ak<input name="submit" type="submit" id="submit" value="发表评论" />afadf'; echo preg_replace('/<input name="submit"[^>]+>/', '', $a);
Output for 4.3.0 - 7.1.0
askdfjl akafadf