Hi Susan,
Thank you so much for taking the time to reply. I apologize for the error in my first post, there were typos when I state the result that I wanted vs the result that I got.
You're correct, what I want is a "hyphen followed by a digit". But only the second occurrence of it. For example, in the following strings:
2601-2650 21 - - - - - - - - - - -21 15 - - - - - - - - -
3801-3850 146 54 48 42 37 31 25 19 13 - - -146 136 93 87 82 76 70 64 58 52 47
3851-3900 152 58 52 46 40 34 28 23 17 11 - -152 142 132 91 85 79 73 68 62 56 50
3901-3950 158 128 55 49 44 38 32 26 20 14 - -158 148 138 128 89 83 77 71 65 59 54
3951-4000 164 134 59 53 47 41 35 30 24 18 12 -164 154 144 134 92 86 80 75 69 63 57
4001-4050 170 140 130 56 51 45 39 33 27 21 16 10 170 160 150 140 130 90 84 78 72 66 61
The result that I'm hoping to see for each line respectively would be;
-2
-1
-1
-1
-1
< none >
I'm still a rookie with regex and any help you could provide is appreciated. Thank you