Gayner Posted August 27, 2009 Share Posted August 27, 2009 $end = preg_replace("`(<input.*?submit.*?>)`i", "\\1".$preview, $end); What the hell is <input.*?submit.*?> do? lol Quote Link to comment https://forums.phpfreaks.com/topic/172203-never-seen-this-code-in-my-life%C2%BF/ Share on other sites More sharing options...
Alex Posted August 27, 2009 Share Posted August 27, 2009 It's regex (Regular Expressions) Quote Link to comment https://forums.phpfreaks.com/topic/172203-never-seen-this-code-in-my-life%C2%BF/#findComment-907940 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.