try the following:
"Average Sized - Mega Church!".split(/\s*\-\s*/g)
edit:
if you mean the source string INCLUDES single quotes, this should work:
"'Average Sized - Mega Church!'".replace(/^'|'$/g, "").split(/\s*\-\s*/g)
if you only meant that the string is defined with single quotes, the original will work.
source
share