I need a regex to find all the strings containing between 5-8 digits and at least 1 occurences of '_' or more. This is an example :
123456_123456 --> YES
12345678_12345678_12345678 --> YES
123456_12345678_123456_12345678 --> YES
12345_123456_1234567_12345678_ --> YES
123456_1 --> NO
123456_12 --> NO
123456_1594126781 --> NO (timestamp at the end)
123_1594126781 --> NO (timestamp at the end)
Thanks for your help !