A couple simple perl compatible regular expressions using php's preg_replace function.
Posted on 2007-09-28
Okay, I'm trying to wipe out all dollar values from a string. It's driving me insane. I have no idea what I'm doing...
I tried.. $html = preg_replace("\$[0-9]+.",'',$html);
<td>PKG</td><td>Sport Lite Package (1 @ $254.00)</td><td align="right">$254.00</td>
I'm looking to extract sizes from the top... I don't exactly know what to do... but here are the real values I'm trying to extract
It seems like the sizes are surrounded by alpha.