Author Topic: EmEditor regex: match multiple lines  (Read 172 times)

spiros

  • Administrator
  • Hero Member
  • *****
  • Posts: 407493
  • Gender: Male
  • point d’amour
    • spiros.doikas
    • greektranslator
    • doikas
    • 102094522373850556729
    • lavagraph
    • Greek translator CV
EmEditor regex: match multiple lines
« on: 11 Feb, 2019, 16:09:40 »
EmEditor regex: match multiple lines when using .* or .*?

EmEditor (unlike Notepad++ which has a visible check box .matches newline setting on the main Search/Replace dialog) needs a couple of extra clicks to match new lines.

You need to click Ctrl+H to bring up the search dialog, click Advanced, check the Regular Expressions can Match new line characters check box and enter 1 or more in the Additional Lines to Search for Regular Expressions text box.

« Last Edit: 11 Feb, 2019, 21:52:46 by spiros »