jquery: match regular expression

Posted by teggy on Stack Overflow See other posts from Stack Overflow or by teggy
Published on 2010-06-15T06:49:10Z Indexed on 2010/06/15 6:52 UTC
Read the original article Hit count: 140

Filed under:
|

In the following:

<span>This cost $15.99 per item</span>

how do I return "$15.99" using jquery? The value can also be for example "$7".

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about regex