Hi all,Does anyone know if I can use a regular expression to see if a sequence exists in a string? For example:
a="12,34"; if(a.contains(/\d,\d/g)){alert("a digit, followed by a comma, followed by a digit is contained in the string "+a);
}Maybe a search or something? Would indexOf accept a regular expression? Thanks.
Have a great day, AlexNew email address: mehgcap@xxxxxxxxx
__________View the list's information and change your settings at //www.freelists.org/list/programmingblind