Regex - how to capture only digits from a string

This is my string:

T: +123 12 21 2123 111 | justasimplestring

Now my question is… How do i capture all the digits ONLY after "T: "?

BUT! The symbol “|” may or may not be there all the time because its dynamic. So that means that even if there are 5, 10, 20 digits and there is a |, +, €, & symbol after it - it should still be able to get the digits only.

I tried different syntax but somehow it captured the whole string all the time.

Hi @lbra,

Pattern :([0-9].*[0-9])


Thank you! so the answer was those [0-9] brackes inside normal brackets :slight_smile: