This function will append a backslash to characters that normal have special meaning in a regular expression. Sometimes you forget that if you want to match ( you must use (, so this is where the following function comes in handy.
ConsoleWrite(_StringRegExpMetaCharacters('This string contains the plus sign +, a bracket ( and a dot. These will be escaped with this function.') & @CRLF)
ConsoleWrite(_StringRegExpMetaCharacters("'KEYWORDS' => array(") & @CRLF)
Func _StringRegExpMetaC