Changes

Convert NSIS html to be accessible using a URL query

Do a notepad++ Regular expression search.

We want to replace

<a name="4.7.2.1.5"></a><h5>4.7.2.1.5 .onGUIEnd</h5>

with

<a name=".onGUIEnd"></a><h5>4.7.2.1.5 .onGUIEnd</h5>

Switch the name attributes

Search

(<a name=\")([0-9\.][0-9\.][0-9\.][0-9\.][0-9\.]+)(\"></a><h[1-6]>)([0-9\.]+) ([a-z0-9\.]+)(</h[1-6]>)

Replace

\1\5\3\4 \5\6 

Switch the href attributes

Search

#([0-9\.][0-9\.][0-9\.][0-9\.][0-9\.]+)\">([a-z0-9\.]+)<
e.g. 4.5.6">PageEx<

Replace

#\2">\2< 
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s