OZONE Asylum
Forums
CSS - DOM - XHTML - XML - XSL - XSLT
JavaScript Regex Issue
This page's ID:
29317
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
Thanks, I actually figured out what you meant. when using the new RegExp method, you have to double escape the special characters. So, to do a \s (whitespace), you actually have to do \\s. This works great: var vin_only = new RegExp("^\\s*"+new_vin+"\\s*$", 'm'); Thanks again.
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »