Regex for 3 or More Consecutive Numbers

I have some strings that may contain. “BR 123725”, “Statement 11245383”, and "CAA AC1 - 94 (556712).

I need to get the consecutive numbers: 123725, 11245383, and the number inside the “()” which is 556712.
I tried using /d+ but it also catches the “1” in AC1 and the “94”. I hope you can help me thank you.


to get the number between ( ) try as below

Hope this may help you


Use this: \d{3,}


It matches patterns with 3+ digits. You can change it to whatever number of digits you need.

Thank you very much! It worked on my mine.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.