Can jQuery or JavaScript be used with a regex to select multiple elements with similar id?
I have the following paragraphs:
You can combine attribute selectors: fiddle
$("[id^='item'][id$='2']").html("D");