Template:Removing bracketed info

The private [bracketed] info in the detailed city list in Dana Beal's periodic emails to organizers has been removed by using the freeware NoteTab Light. Here is how:

First; paste the city list into a new page in NoteTab Light (click "New" from the File menu). Then make sure each city is in one paragraph, with one blank line between each city. Add blank lines if necessary by clicking the enter key. Remove extra blank lines, too. A fast way to remove extra lines is to replace ^p^p^p with ^p^p by using the "replace" tool in the search menu.

Next, eliminate line breaks within the paragraphs. This must be done before removing the bracketed info in a later paragraph. That step only works well within unbroken paragraphs that don't have line breaks within the paragraphs. Click "Select All" from the Edit menu. Then click "Join Lines" from the Modify/Lines menu.

The wiki software makes all URLs starting with http clickable. So, use NoteTab Light to add http:// to the front of all URLs that start with www.

Within email addresses use NoteTab Light to replace @ by (at) in all email addresses in order to stop spambots.

To remove the bracketed info correctly you must use the latest version of the freeware Notetab Light. Older versions can remove incorrect info.

Click the Replace command in the Search menu. A "find and replace" dialog box will show up. Choose "All" from the dropdown menu for search (in the dialog box). For this find-and-replace task only: Put a checkmark in the spot for "Regular Exp." It stands for "Regular Expression." In the top form line type or paste in this regular expression: \[.*?]

In the "Replace with" form just put in a period. Then click "Replace All". It only takes a second to remove all the private info.

For more info on regular expressions see the help menu in Notetab, and click on "Help on Regular Expressions." See these wikipedia pages: See also:
 * Regular expression
 * NoteTab
 * "NoteTab Pro (or regex text editor) to find code sections to replace". A forum thread.

Any private info that remains is there because it was not enclosed by standard [brackets] on both ends. {Curly brackets} do not work. Contact Dana Beal (see contact info higher up) to point out problems with bracket placement.