@ 2017-05-30T07:13:25Z <?php
$emailtempalte = '<table border="0" cellpadding="0" cellspacing="0" style="margin: 0 auto; width: 100%; margin: 0px auto; max-width: 600px;" width="600"> <tbody> <tr> <td> </td> </tr> <tr> <td align="center" valign="top"><img alt="" src="http://cdn.socialannex.com/custom_images/9396340/COV7Y3_logo.png" style="max-width:440px; width: 100%;margin: 0px auto;" /></td> </tr> <tr> <td style="border-top:1px solid #aeaeae;"> </td> </tr> <tr> <td> </td> </tr> <tr> <td align="center" style="font-family:Helvetica,Arial; font-size:30px; color:#000; text-transform: uppercase;" valign="top">Your Review<br /> Has Been Approved!</td> </tr> <tr> <td> </td> </tr> <tr> <td align="center" style="font-family:Helvetica,Arial; font-size:14px; color:#000;" valign="top">Thank you for your review. Please click on “View Review”<br /> below to see your approved review.</td> </tr> <tr> <td> </td> </tr> <tr> <td align="center" valign="top"><img alt="" height="250px" src="#productImageUrl#" width="268px" /></td> </tr> <tr> <td> </td> </tr> <tr> <td align="center" style="font-family:Helvetica,Arial; font-size:22px; color:#000; text-transform: uppercase;" valign="top">#productName#</td> </tr> <tr> <td> </td> </tr> <tr> <td> </td> </tr> <tr> <td align="center" valign="top"><a href="#producturl##sas28utmtag#"><img alt="" src="http://cdn.socialannex.com/custom_images/9396340/CXGJEG_view.png" /></a></td> </tr> <tr> <td height="60"> </td> </tr> <tr> <td align="center" style="background:#eaeaea;font-family:Helvetica,Arial; font-size:11px; color:#000; height:80px;" valign="middle">Many Thanks<br /> The Wilsons Leather Team</td> </tr> </tbody></table><sas28utm>utm_campaign=write_review&utm_medium=email&utm_source=socialannex</sas28utm>';
echo substr($emailtempalte, strpos($emailtempalte, "<sas28utm>")+10, (strpos($emailtempalte, "</sas28utm>")+11));
echo "\n\n-----------------------\n\n";
$emailtempalte = '<sas28utm>utm_campaign=write_review&utm_medium=email&utm_source=socialannex</sas28utm><table border="0" cellpadding="0" cellspacing="0" style="margin: 0 auto; width: 100%; margin: 0px auto; max-width: 600px;" width="600"> <tbody> <tr> <td> </td> </tr> <tr> <td align="center" valign="top"><img alt="" src="http://cdn.socialannex.com/custom_images/9396340/COV7Y3_logo.png" style="max-width:440px; width: 100%;margin: 0px auto;" /></td> </tr> <tr> <td style="border-top:1px solid #aeaeae;"> </td> </tr> <tr> <td> </td> </tr> <tr> <td align="center" style="font-family:Helvetica,Arial; font-size:30px; color:#000; text-transform: uppercase;" valign="top">Your Review<br /> Has Been Approved!</td> </tr> <tr> <td> </td> </tr> <tr> <td align="center" style="font-family:Helvetica,Arial; font-size:14px; color:#000;" valign="top">Thank you for your review. Please click on “View Review”<br /> below to see your approved review.</td> </tr> <tr> <td> </td> </tr> <tr> <td align="center" valign="top"><img alt="" height="250px" src="#productImageUrl#" width="268px" /></td> </tr> <tr> <td> </td> </tr> <sas28utm>utm_campaign=write_review&utm_medium=email&utm_source=socialannex</sas28utm> <tr> <td align="center" style="font-family:Helvetica,Arial; font-size:22px; color:#000; text-transform: uppercase;" valign="top">#productName#</td> </tr> <tr> <td> </td> </tr> <tr> <td> </td> </tr> <tr> <td align="center" valign="top"><a href="#producturl##sas28utmtag#"><img alt="" src="http://cdn.socialannex.com/custom_images/9396340/CXGJEG_view.png" /></a></td> </tr> <tr> <td height="60"> </td> </tr> <tr> <td align="center" style="background:#eaeaea;font-family:Helvetica,Arial; font-size:11px; color:#000; height:80px;" valign="middle">Many Thanks<br /> The Wilsons Leather Team</td> </tr> </tbody></table><sas28utm>utm_campaign=write_review&utm_medium=email&utm_source=socialannex</sas28utm>';
$matches = array();
preg_match_all("/<sas28utm>[\s\S\d\D\w\W\X]*<\/sas28utm>/", $emailtempalte, $matches, PREG_SET_ORDER);
print_r($matches);
Enable javascript to submit You have javascript disabled. You will not be able to edit any code.
Output for git.master , git.master_jit , rfc.property-hooks utm_campaign=write_review&utm_medium=email&utm_source=socialannex</sas28utm>
-----------------------
Warning: preg_match_all(): Compilation failed: escape sequence is invalid in character class at offset 24 in /in/VuS6H on line 10
Array
(
)
This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.
Active branches Archived branches Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page
preferences:dark mode live preview
73.21 ms | 401 KiB | 8 Q