Regex for Decimal in parentheses

Hi,
I have a string which will contain number in parentheses ()
The number can be 123 or 123.45…
This number will be in parentheses or first bracket, now I need to use regex to extract only the number for example, if the string is (23553) then I should extract 23553 or if it is (45432543.2323) then I should extract 45432543.2323

Any suggestion on the regrex for this ?

Try below:

1 Like

thanks a lot, it worked

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