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)
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
2 matches
Mail list logo