Archive: Regex


Regex
Hey guys,

I have a string that looks like this:

"<affid>9999</affid><subid>0001</subid><bing>0</bing><weather>0</weather><wecare>0</wecare>"

I'd like to strip the affid, subid ect out and declare a variable for each.

I'm new to NSIS.

Any help would be appreciated.

-Alex


i'd try WordFind2X or one of those XML plugins on the wiki


The macros in wordfunc.nsh will help you with this. Please refer to the manual: http://nsis.sourceforge.net/Docs/AppendixE.html