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
I'm sorry, I don't know what you mean by "tags" Do I need to escape something that's not escaped? As for your way, as far as I can tell, it would only work if there was no other text. What if the input of the textarea was: ----------------------------------------------------- This is some text with a __17_digit_VIN___ More text, ___another_VIN___ _replace_this_VIN _replace_this_VIN _replace_this_VIN ----------------------------------------------------- Basically, there are 2 things that I'm doing. First, I'm replacing any 17+ character strings with a valid VIN, IF they contain one (stupid barcodes on vehicles often have extraneous characters...). Then (and this is the part I can't seem to get), *IF* a VIN is all by itself on a line (whitespace ignored), I want to replace it with: year make model style VIN weight
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »