Regex with Matches activity

I have a case where the screen loading will be a text with a number like this “All(0)” If the screen loads then I will get the number of results instead of 0

I want a regex expression that will include numbers only and will start with 1 - 9 but I want to include the zero to be between the number but not the started

then what will be?

Hi,

How about the following pattern?

[1-9][0-9]*

Regards,

Hi @kalmajhad

Try this

[1-9]+\d*

image

I hope it helps!!

Hi @kalmajhad ,

Check with the below Regex Expression :

All\([1-9][0-9]*\)

image

@kalmajhad
Try this one

^[1-9][0-9]*0?[0-9]*$

Hi @kalmajhad

Hope it helps!!

Works well thank you

1 Like

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