Bookmark lines that start with a digit and are consecutive, while skipping some other lines

  Kiến thức lập trình

I have a list like following:

Peie
71,176,953
T-re
71,173,557
5-Mts
41,653,495
45678
Sia
36,136,829
36,100,829
4-Diepi
120,829
uteCra
36,100
Oct2018

Now I want to bookmark lines that start with a digit and are consecutive, while skipping 4-Diepi and 5-Mts and month lines.

I tried following regex but I failed!

^(?:4-Diepi|5-Mts|.*b(?:Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)d{4}b.*)$(*SKIP)(*F)|^d+.*R(d+.*)$

The line 5-Mts was not ignored
where is my regex problem?

LEAVE A COMMENT