better striping method php regex

marXman

New Member
please help me strip the following more efficiently.\[code\]a href="http://stackoverflow.com/mv/test-1-2-3-4.vFIsdfuIHq4gpAnc.html"\[/code\]the site I visit has a few of those, I would only need everything in between the two periods:\[code\]vFIsdfuIHq4gpAnc\[/code\]I would like to use my current format and coding that works around the regex environment. Please help me tune up my following preg match line:\[code\]preg_match_all("(./(.*?).html)", $sp, $content); \[/code\]Any kind of help I get on this is greatly appreciated and thank you in advance!
 
Back
Top