"php preg_match (.*) not matching past line breaks [duplicate]" Answer’s

0

Use s modifier.

preg_match('/Para(.*)three/s', $row['file'], $m);

http://php.net/manual/en/reference.pcre.pattern.modifiers.php

Wednesday, March 31, 2021
 
Jimenemex
answered 11 Months ago
Only authorized users can answer the question. Please sign in first, or register a free account.
Not the answer you're looking for? Browse other questions tagged :