I have this data in a mysql field:
First text text text text
text text text text
text text text text text text
text text text text text text
Second text text text text
text text text text
text text text text text text
text text text text text text
I'm trying to preg match from the first word until the double line break. I've tried:
preg_match('/First(.*)
/', $mysqlrow, $m);
This returns no rows. I've also tried the m
and s
modifiers, which don't return the proper string. I've also tried
which doesn't return anything.
How do you do this