Skip to content
⌘ NSIS Forum Archive

Regular expression replace

3 posts

mustafah#

Regular expression replace

Hi,

Is there a function or a way to use regular expression to remove some text from a string?

I tried using NSISpcre plugin (http://nsis.sourceforge.net/NSISpcre_plug-in), but I can't get it to work, I downloaded it extracted the zip file and then tried to building the example file using MakeNSISW version 2.3 but I received (Invalid command: NSISpcre::REQuoteMeta).

Any help would be appreciated.
pengyou#
The error message means the compiler cannot find the NSISpcre plugin.

The easiest way to fix this is to put the NSISpcre.dll file in the NSIS plugins folder (normally C:\Program Files\NSIS\Plugins)