I created a new parser for the tablesorter javascript plugin, which works fine in all browsers but IE7!

```
$.tablesorter.addParser({
    id: 'currencyXYZ',
    is: function (s) {return /[^\d]*$/.test(s);},
    format: function (s) {return $.tablesorter.formatFloat(s.replace(new RegExp(/[^\d]/g),''));},
    type: 'numeric'
});

```

Basically I'm replacing all characters except numbers from the table cell, right? If in my table cell I have **"from £500"**, it returns **"500"**, but on IE7 I'm getting something like **"1.09387348273428e+35"**... What am I doing wrong?