I have a list like following:
tttttttttttyyyyyyyyyyyyyy 28758.gif: 100.00%tttttttttttyyyyyyyyyyyyyy 28759.gif: 98.92%tttttttttttyyyyyyyyyyyyyy 28760.gif: 100.00%tttttttttttyyyyyyyyyyyyyy 28761.gif: 98.54%tttttttttttyyyyyyyyyyyyyy 28762.gif: 100.00%tttttttttttyyyyyyyyyyyyyy 28763.gif: 98.85%tttttttttttyyyyyyyyyyyyyy 28764.gif: 100.00%tttttttttttyyyyyyyyyyyyyy 28765.gif: 99.91%tttttttttttyyyyyyyyyyyyyy 28766.gif: 100.00%tttttttttttyyyyyyyyyyyyyy 28767.gif: 100.00%tttttttttttyyyyyyyyyyyyyy 28768.gif: 100.00%tttttttttttyyyyyyyyyyyyyy 28834.gif: 100.00%tttttttttttyyyyyyyyyyyyyy 28835.gif: 100.00%
The following regex bookmarks all lines that include a percentage number under 100.00%:
\b\d{2}\.\d{2}\b%
Now I need a regex that bookmarks all lines including a percentage number under 100.00% and two lines after the target line
The following regex can bookmark my target lines and just one line after them:
(?-s)(^.+\R?)\b\d{2}\.\d{2}\b%(?:\R^.+)?
I tried following regex but I failed:
(?-s)(^.+\R?)\b\d{2}\.\d{2}\b%(?:\R^.+)?(?:\R^.+)
where is my regex problem?