this is a regular expression
@"\([^\d]*(\d+)[^\d]*\)"
the brackets are the capturing group, and \( are the copied brackets that are the actual bracket in your input string.
as a note: depending on what language you will influence your regular expression in, you might need to avoid your escape char, \ , so be careful.
I would be careful with this, although one of the limitations for regular expression in the tutorial is that it cannot correctly identify the text in brackets.
Sam i am
source share