string - Regex for set -


I need some help to find the following expressions with "RegEx"

string "(x / X) "where x is a number from 0-999 string" x of x "where x is any number from 0-999.

Usually, the string is a marker for a set, That is, 10 out of 4 things, or (3/5), where the first number item and the second number are the total.

Thanks

How about

" \ d {1,3} / \ d {1,3} "

and

"\ d {1,3} of \ d {1,3}"


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -