May 28 2018
03:48 AM
- last edited on
Apr 07 2022
05:10 PM
by
TechCommunityAP
May 28 2018
03:48 AM
- last edited on
Apr 07 2022
05:10 PM
by
TechCommunityAP
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)."
Unfortunately I did not find an example in the documentation on how to set the flags.
Example:
May 30 2018 03:57 AM
SolutionThe solution is:
| where Message matches regex "(?ms)^Hello.*\\s*.*line.*$"
Thanks Yoni !
May 30 2018 03:57 AM
SolutionThe solution is:
| where Message matches regex "(?ms)^Hello.*\\s*.*line.*$"
Thanks Yoni !