preg_match for partial matches

emmablizzard

New Member
How do I use preg_match for partial matches?When I have the string:\[code\]www.stackoverflow.com\[/code\]and when I enter\[code\]stackoverflow.com or stackoverflow\[/code\]to match the phrase it returns false. How do I make it work for partial matches?
 
Back
Top