From: eddieroger Date: 2007-03-14T06:15:05+09:00 Subject: Regular Expression Help I'm trying to write a regular expression for Ruby and running into roadblocks. I'm not new to the concept of a regex, and have written many before, but I'm new to implementation in Ruby and working with a particularly pesky regex. The string I need to match is: *'''ABC'', [[Acronym Definition]] The only parts I want to change are the ABC and "Acronym Definition." So, the asterisk, quotes and brackets should be there, but - to make it harder - the brackets are optional. Thanks for the help! Eddie