filtering names in jquery input
<p>I have this code that selects all the text fields with "record_" in them.</p>

<pre><code>$('input[name^="record_"]').map(function() { total += $(this).val() * 1; });
</code></pre>

<p>But the fields with the name "record_1, record_2 and record_3" need to be * 8 not * 1.</p>

<p>How can i filter the search so that it only finds records that have numbers after 3?
I tried an IF function but the way ive done the above code means that "record_15" will be * 8 and not * 1 as it should be .
I know this should be simple but i cant get my head around it.</p>
