i have problem with preg_match, i couldn’t extract a specific content from a certain line
for example, i have the following line :
"ch Aabcd+3 abc - anything (412ms) OK \
i want to extract the content between :
i have tried this but it doesn’t extract the content as mentioned above
preg_match('(/"ch[^.]?([A-Za-z0-9- ()+]+)[ ]+$/) (/OK/)/s', $line, $sv_content)
can you help me please ?