Thanks for the quick suggestions. Let me see if I am digesting the info correctly:
This part will replace the "[" at the beginning of the string: stringValue.replace(/^\[ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ This part will find all "]", "SingleQuotes", "DoubleQuotes" and replace them with an empty string: \]'"/g, "") ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ What does this do in the context of the regex? |[ stringValue.replace(/^\[|[\]'"/g, "") ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Cheers, Matt -- To view archived discussions from the original JSMentors Mailman list: http://www.mail-archive.com/[email protected]/ To search via a non-Google archive, visit here: http://www.mail-archive.com/[email protected]/ To unsubscribe from this group, send email to [email protected]
