When searching for a regular expression, you can click the Dot button on the Search toolbar to turn on the “dot matches line breaks” search option. This option makes the dot match any character, including line break characters.
Turning on this option is the same as putting the mode modifier (?s) at the start of your regular expression. If you do use the mode modifier (?s) or (?-s) then the mode modifier overrides EditPad’s search option.
Search|Prepare to Search
Search Option: Regular Expression (Regex)
Search Option: Free-Spacing (Free)
Search Option: Case Sensitive (Case)