you said
A Visual Studio regular expression will find this:
, , - Visual Studio, , .
, , ; Visual Studio , , , , !
, , SilentGhost .NET( PowerShell script) . , Studio , TextPad. , .
, PowerShell , foo.js fooNew.js:
(get-content D:\junk\foo.js) -replace
'(?<!function\()someValue', 'someOtherValue' > D:\junk\fooNew.js