Oct 17, 2020.... this Notepad++ method is now outdated. We now have a simple way to to bulk prep maps for forum posting:
Click here for Alligator Attack!!!
How I'm using Notepad++ to add [CODE][/CODE] tags in bulk.
Get files into a single folder, highlight them, right click and then Edit with Notepad++ (make sure you had no other active files in Notepad++).
To add the [CODE] tag at the beginning of each file:
In Notepad++ go [Search] then [Replace...].
To add the [/CODE] tag at the end of each file:
In Notepad++ go [Search] then [Replace...].
With that, all the blockmaps or adpmap files you had opened up will now have the [CODE][/CODE] tags, so you can just copy/paste them into the forum post.
Click here for Alligator Attack!!!
How I'm using Notepad++ to add [CODE][/CODE] tags in bulk.
Get files into a single folder, highlight them, right click and then Edit with Notepad++ (make sure you had no other active files in Notepad++).
To add the [CODE] tag at the beginning of each file:
In Notepad++ go [Search] then [Replace...].
- Find what: (.*)
- Replace with: [CODE]\r\n\1
- Search Mode = Regular expression AND matches newline enabled.
To add the [/CODE] tag at the end of each file:
In Notepad++ go [Search] then [Replace...].
- Find what: (.*)
- Replace with: \1\n[/CODE]
- Search Mode = Regular expression AND matches newline enabled.
With that, all the blockmaps or adpmap files you had opened up will now have the [CODE][/CODE] tags, so you can just copy/paste them into the forum post.
Last edited: