Hello
I am trying to build a logic where I can extract a series of integers from a statement. the minimum length of those integers is 4 and it can go to any maximum length. Also, the integers can be at any place. Example,
1. This is a random statement 1234
2. This is 12345 a random statement
3. This is a random 123456 statement. I want my output as:
1. 1234
2. 12345
3. 123456
Can someone please help me in building this logic?