JAVA get unit of measure and measurement from a string
<p>I have a string:</p>

<pre><code>String = "2 ltr. btl., select   varieties when you buy 6 $1.25 ea.-50¢  MIX OR MATCH";
</code></pre>

<p>Is it possible to extract the unit of measurement from the given string? (2 ltr)</p>

<p>Note: the unit of measurement and measurement could appear anywhere in the string.</p>

<p>EDIT:
One of these keywords should appear</p>

<pre><code>oz. oz lbs. lbs lb. lb kg. kg k g. g pk. pk ea. ea ml. ml pck. pck ct. ct qt. qt liter ltr ltr. fl oz fl oz.
</code></pre>

<p>I would like to get the unit of measurement and its corresponding measurement.</p>