The “Between two lines” rule can use regular expressions. You can learn more about regular expression here.
Here are some examples:
- ^123.*END_STRING$: this expression will match any line which starts with 123 and ends with END_STRING. The special character ^ is start the of line while a special character $ indicates end of the line.
- ^ *SOME TEXT *$: this expression will match any line with start with zero or more spaces, then has test SOME TEXT and ends with zero or more spaces/ .