Forum Discussion

Emilian Ertel's avatar
Emilian Ertel
Copper Contributor
May 28, 2018
Solved

regex matching for multi-line strings

According to the documentation (https://docs.loganalytics.io/docs/Language-Reference/References/Regular-Expressions-syntax😞 "Flag syntax is xyz (set) or -xyz (clear) or xy-z (set xy, clear z)."   ...
  • Emilian Ertel's avatar
    May 30, 2018

    The solution is:

    | where Message matches regex "(?ms)^Hello.*\\s*.*line.*$"

    Thanks Yoni !

Resources