$string = 'var togo = "gowentgone"';
how can i grab the text with preg_match_all?
preg_match_all('/"(.*)"/i', $string, $result) ;
grab text between ""
Moderator: General Moderators
- superdezign
- DevNet Master
- Posts: 4135
- Joined: Sat Jan 20, 2007 11:06 pm
Re: grab text between ""
Are you asking about the format of the return value? The manual can answer that question for you.