I need to make a regex to match some liquid volumes like:
water in 17oz container
water in container 17oz
How would you make a regex to match these?
I could do just /[0-9]{1,}oz/
but that will also match 90ozonelayers, not that it will happen but I want it to be foolproof.
And /[0-9]{1,}oz /
will not do the trick to match it if its in the end of the string.