OZONE Asylum
Forums
DHTML/Javascript
Regex Help.. not working :(
This page's ID:
27777
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
Hm... As far as I see it, you're lowercasing '$1', which is only afterwards expanded to the full string. So... try defining a function lowerThat ( str) return str.toLowerCase() and pass that to replace. That way, you'll actually pass in a function, instead of a string, and that's what you want.
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »