Just wondering if there is another approach to replacing quoted string literals in an AutoIt Script file.
[ autoit ]
#include <Constants.au3> Local $sData = FileRead(@ScriptFullPath) ; Strip double/single quote strings. Topic: http://stackoverflow.com/questions/4462646/how-can-i-remove-quoted-string-literals-from-a-string-in-c $sData = StringRegExpReplace($sData, "([""'])(?:(?!\1).)*\1(\h*)", "''\2") ; Modified by guinness. MsgBox($MB_SYSTEMMODAL, '', $sData)