I am not great with regular expressions. I am looking to find if a string contains \"( ),[ ], { }\". Note, I am not looking for the contents in the actual ( ), just to see if
If you want to check for matching parens / brackets / braces, this will work:
/\(.*\)|\{.*\}|\[.*\]/
see here for more.
And this returns the matching portions of your string:
>> "alkd(jfla)kjd{adlkfj}alkjfd".scan(/\(.*\)|\{.*\}|\[.*\]/) => ["(jfla)", "{adlkfj}"]