SyntaxFix
Write A Post
Hire A Developer
Questions
The multiline flag tells regex to match the pattern to each line as opposed to the entire string for your purposes a wild card will suffice.