Step one: Remove regular expressions from your toolbox when dealing with HTML. You need a parser.
Step two: Download simple_html_dom for php.
Step three: Parse
$html = str_get_html('<SPAN class=placeholder title="" jQuery1262031390171="46">[[[SOMETEXT]]]</SPAN>');
$spanText = $html->find('span', 1)->innerText;
Step four: Profit!
Edit
$html->find('span.placeholder', 1)->tag, $matches);
will return what you want. It looks for class=placeholder.
Byron Whitlock
2009-12-28 21:00:02