I need a regex to extract fraction, decimal and integer values from a given string. For example, an input will be like following.

* 1/2 apples
* 1.5 orange
* 2.5 orange
* 1 lemon

And output should be following.

* 1/2
* 1.5
* 2.5
* 1

I figured out how to extract fraction, decimal and integer values separately using 3 different regex, but I can't figure out a way to extract all the possible number values with one regex.

I'm currently using Javascript String object's match method.

Any help will be appreciated.