Greetings people.
How can I use PCRE in PHP to match ANY character, even a newline ? Consider a very long string, containing this text somewhere in it:
...
Description
Part of description #1
Part of description #2
...
I want to match and grab EVERYTHING after the word 'Description', wheter it as newline character or not.
However, this will return only the string "Part of description #1" :
preg_match(/Description[\s]+(.*)/), $line, $match);
Thanks