I am trying to match every line containing the string "Random Data" only if its between "Index 100" including that string. Is this possible?
Index 000
Index 100
Random Data Random Data
Not Random Data
Random Data Random Data
Not Random Data
Index 100
Random Data Random Data
Not Random Data
Random Data Random Data
Not Random Data
Index 100
Index 200
Can't seem to get it, I was playing around on https://regexr.com/ but no luck.
I took the regex from this post Regex Match all characters between two strings
and attempted to modify it with no luck. I tried this
(?<=Index 100)\R*Random*\R*(?=Index 200)
I am completley new to regex, a little direction would be great.