Pastoid

The page you are looking at now is at this URL: http://pastoid.com/b1y

This paste was last updated on May 2, 2010 at 5:27 pm.

Pasted Coderaw

<html>
<body>
<h1>Testing CML Touch</h1>
<?php
$table = <<<EOD
						<table bgcolor="yellow">
							<tbody><tr>
								<td valign="top">
 
								ready for pickup at Karl Road
 
									by 06May2010
 
								</td>
							</tr>
						</tbody></table>
 
EOD;
$pattern = '/(pickup at) (.*)\b/';
	preg_match( $pattern, $table, $matches );
var_dump(	$matches );
$pattern = '/(by) (.*)\b/';
	preg_match( $pattern, $table, $matches );
var_dump(	$matches );
 
$pattern = '/.*pickup at (.*?)\\n.*?by ([^ ]+).*/ms';
	preg_match( $pattern, $table, $matches );
var_dump(	$matches );
 
 
 
 
?>
</body>
</html>

Toggle wordwrap

Referring DomainHits
Unknown Referer 127
pastoid.com 12
drunkenmonkey.org 1
Is this paste spam?
<Hide