View Single Post
  #2 (permalink)  
Old March 9th, 2006, 02:47 AM
adam_kahtava adam_kahtava is offline
Wrox Technical Editor
 
Join Date: Dec 2005
Location: , , Canada.
Posts: 271
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Try using the Javascript Split() Function, then loop through the array validating against your regular expression.

Example:

    var temp = new Array();
    temp = b.split(',');

Taken from: http://www.quirksmode.org/js/strings.html#split

- A.Kahtava
Reply With Quote