[jQuery] Regular Expressions

[jQuery] Regular Expressions


This may have been answered somewhere, but alas, I cannot find it.
I would like to use a regular expression to filter through certain dom
elements, but Im not sure if jQuery takes regex.
Also, it might be possible with attribute selectors, but Im not sure how.
I want to grab all divs with an ID that starts with "col_" (easy enough with
$('div[@id^=col_]')), but also ends with a number.
The regex would look something like this:
/^col_[0-9]/
Any ideas?
Thanks in advance,
Nate
--
View this message in context: http://www.nabble.com/Regular-Expressions-tf2890072.html#a8073967
Sent from the JQuery mailing list archive at Nabble.com.
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/