I have a multi line string like:
$msg = "Fix #1: This is a message
Fix #2
Fix #5";
I've tried a lot of patterns but none worked the way I want it to work.
What I want preg_match to do is to return an array with 1, 2 and 5. The pattern should check for all Fix #NUM and return all the NUM in an array.