<?php $html = '<h1>{${eval("1+2")}}</h1>'; // uppercase headings $html = preg_replace( '(<h([1-6])>(.*?)</h\1>)e', '"<h$1>" . strtoupper("$2") . "</h$1>"', $html );
You have javascript disabled. You will not be able to edit any code.