RegEx in Sublime Text: Match any character, including newlines?

Try adding the (?s) inline flag start the start of the pattern. That will make . match any character.