Re: [PHP] Re: Regular help

2005-01-05 Thread John Holmes
M. Sokolewicz wrote: > Uroš Gruber wrote: >> I need correct regular expression to get string between " >> >> but if I use 2 pair of " must also work >> >> "this is" "some kind" "of a test" >> >> matches would be >> >> this is >> some kind >> of a test > preg_match_all('/"(.+)"/U', $string, $result)

[PHP] Re: Regular help

2005-01-05 Thread M. Sokolewicz
preg_match_all('/"(.+)"/U', $string, $result); UroÅ Gruber wrote: Hello! I'm pulling my hair so please help. I need correct regular expression to get string between " but if I use 2 pair of " must also work "this is" "some kind" "of a test" matches would be this is some kind of a test I hope somebo