Extract string between start string and end string using javascript
<p><BR>
Consider the following snippet of code:</p>

<pre><code>&lt;div align="Left"&gt;
&lt;font style='font-size:17pt; font-family:Times New Roman;color:#000000;'&gt;
&lt;textformat tabstops="[20]" leftmargin="0"&gt;Hi all&lt;/textformat&gt;
&lt;/font&gt;
&lt;/div&gt;
</code></pre>

<p>I want to extract string between "font-size" and "pt" i.e  it should out me a decimal "17" using  javascript.<BR>
Can this can be achieved using regular expression.
<BR><BR>
Thanks in advance,<BR>
Amit</p>
