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 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) 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
Archived
This topic is now archived and is closed to further replies.