Archive for the 'Notetab Clips' Category

Flo’s Great Remove All Empty Lines Regex

Saturday, December 8th, 2007

If a file has a return on the last line of text followed by the file end assertion, it will not remove that extra return if you are searching for empty lines. This regex does the trick: ^!Replace “\R(?=\R)|\A\R|\R\z” >> “” AWRS Note per Sheri: \z is an assertion for the position of end of […]

Notetab Clip to Make Tab Delimited File into Comma Separated Value CSV File

Thursday, December 6th, 2007

This clip makes a file into a comma separated value file if it is say tab delimited at the start. It offers several choices of delimiters to start including comma, semi-colon, colon, tabs, etc.

EPOCH Time from System Time Using Notetab Clip

Sunday, April 15th, 2007

I want to do a time comparison between two times. I figured a good way to do that might be to generate a Unix or EPOCH time as is commonly used in Perl, PHP, and many other programming languages. I searched help and help on clip programming and did not find any reference to EPOCH […]

Stripping an HTML File Before Uploading

Saturday, March 10th, 2007

Corl asked how to strip down an html file before uploading with notetab. His theory is that he doesn’t need comments on his remote copy and spaces and tabs and so forth for clear readability actually slow up/downloading and take unneccesary bandwidth. I suppose in a sense he’s right and so long as you keep […]

Make Content Between Span Tag Lower Case

Friday, March 24th, 2006

This clip will find span tags and turn the content inside of them to lower case. The clip does not impact the first character or that string however. This is in response to a post to the clip list on yahoogroups. ;*** Effort by Don Passenger ;*** don at htmlfixit dot com ;*** discuss things […]


Thursday, February 2nd, 2006

Use NoteTabs internal ^!FileScramble feature to encode/decode files. Do 1 file, many files, or, an entire folder and its subfolders. The Help file says; The encryption algorithm is based on RC4 (“RC4” is a trademark of RSA security corporation). You should not rely on this feature to protect very sensitive data. I don’t know exactly […]

Set_View ini and disk BufferS

Tuesday, January 24th, 2006

Reposted 2/2/06 Here are revised, REVISED, clips, one to use NoteTabs users inifile feature to store tidbits of information, the other, to use disk files as a temporary storage medium. For setting new buffers the clip uses the first word in the selection, if it is descriptive enough you can accept that name or type […]

Scramble_Multi Words

Saturday, January 14th, 2006

This clip, when run on normal text scrambles the characters in 4 letter words and above without altering the formatting of the text. It leaves the first and last characters of each word unchanged but scrambles the others. I don’t know who’s responsible for the original algorithm but a writer, he thought it might make […]


Thursday, January 12th, 2006

Select between the markers and paste into a new file named – ImageWrap.clb. Place in the Notetab Libraries folder I’m having a problem getting this to display correctly to enable you to get a correct copy/paste. If you copy/paste this library everything should be normal, except, double quotes. You will have to do a Search/Replace, […]


Saturday, January 7th, 2006

This clip is to UUencode/UUdecode clip for sending to our lists via email. Email, most times, wraps long lines and after copying and pasting from the email, makes restoring to a working clip very difficult at times. UU, encoding and decoding encodes the text with a straight right margin which is narrower than the email […]

NoteTab Googler

Friday, January 6th, 2006

Using NoteTab to Google was discussed on the Clips List. This is a modified version of Don’s clip. This uses a basic default choice but still allows user input in the second entry point in the same wizard. The second clip contains many of the terms you might search for relating to NoteTab. Some multiple […]

FiXiT_UpLoadeR Prep

Friday, January 6th, 2006

This clip is made to convert clips for posting at so they will display and users can easily download and not be required to make any changes to start using them. I like this clip because it does the minimum number of changes to get a good display, also, it can be used to […]

Clip to Prepare Clips for Posting on this Site

Friday, January 6th, 2006

When we prepare clips, we need to do a little work to get them ready. Quotes often turn into smart quotes. That appears to be an issue with our posting software. Sometimes it does and sometimes it doesn’t add smart quotes. It also chokes often because it mistakes the greater than and less than signs […]

Notetab Clip to Search Google For Term

Tuesday, January 3rd, 2006

Okay, I often search Google to find Notetab’s great Yahoogroups messages. I find the search utility in YahooGroups to be fairly limiting. Tonight RP Dooling — the author — suggested that a clip might be in order … and that got me to thinking. Here is the first in what could easily be a series […]

Smart Definition List Creation Clip

Monday, December 26th, 2005

This clip will create a definition list in html coding. Features: it will create a blank list with specified number of dt and dd tags in ratio to each other it will create a dl from a highlighted list using either every other, a set ratio or custom set determination of what is a dt […]

Clip to Add class=”wrap” to last TD tag in each TR tag

Saturday, December 24th, 2005

This is written in response to a request from Don Strack on the notetab clips list. His problem is that he wants to have a special class on the last TD tag in each set of TR tags in an existing page. He apparently adds new sets periodically, so he may already have some of […]

Image Wrap Clip

Saturday, December 17th, 2005

This clip will wrap images into xhtml pages for viewing. It works like this: 1. all files must be closed before the clip is run 2. you will want to have your image in their own directory on the computer 3. you click on begin new index … it will ask if all files are […]

Hyperlink with Image

Saturday, November 26th, 2005

This is a clip that I wrote a while back, but enhanced as a result of this post to the ntp-clips list: Hi all, Was wondering if anyone knew of a clip which provided more options when inserting links into pages? Specifically, I’m seeking a clip which gives me the option of inserting the following […]

Delete All <a href> and <\a> Tags from a Document

Tuesday, June 14th, 2005

This clip will remove all and tags from a document. This includes all links, including all mailto: links. The version as written asks if you want to remove each tag. After you are comfortable with the clip, there is a comment telling you to take out the skip if you don’t want confirmation. ;*** Effort […]

Convert Bible Study Guide to HTML Format

Thursday, June 9th, 2005

Alueet wrote: > Would somebody like to help me, because I can’t make the clips. > I’m making my own Daily devotion and I use Notetapro writing it and I > take the text from the finnish Bible. > Here is the original text and after that the result what I want the clip > […]

Remove Table Tags from XHTML or HTML Document

Thursday, June 9th, 2005

This clip should remove all table, tr, and td tags from a document including end tags. ;*** Effort by Don Passenger ;*** don a-t htmlfixit d-o-t com ;*** discuss things live in chat at ;******************************************************* ;clip strips html table tags from entire document ;go to start of document ^!Jump Doc_Start ;loop to check each […]

Make Paragraphs with Links From Input

Monday, June 6th, 2005

Ok, take this: U.S. Dive Travel Offers packages to Bonaire’s Sand Dollar Condominium Resort. http://www.usdivetravel[…]ONAIRE-Sand_Dollar.html Sand Dollar Group Offers project management and support for the development of web sites, LAN and WAN design, data center relocations and custom helpdesk integration. Make it into this: U.S. Dive Travel Offers packages to Bonaire’s Sand Dollar Condominium […]

Splitting a Line of Text on Spaces

Friday, June 3rd, 2005

You can create an array by dividing on a set character. In this example I split on spaces per the request of the writer. ;*** Effort by Don Passenger ;*** don a-t htmlfixit d-o-t com ;*** discuss things live in chat at ;******************************************************* ;I assume each line in the file is this 9 field […]

Find Values in Tags and Total Them

Tuesday, May 10th, 2005

This clip takes the following: + = This person has values in tag sets named as above. I just read the first two values and then spit out the calculated value under the third tag. I don’t really error trap, other than to spit you out if these three tags don’t appear in succession. ;*** […]

Clip for Editing Text: strikeout deletion / bold insertion

Monday, March 21st, 2005

;whacked at by don at htmlfixit dot com ;from an example by hoylesp at acm dot org ;to edit stuff with three options (1a, 1b and 2) ;1. ;if highlighted text when start, then strike that ; and a. ; nothing if text box left empty ; or b. ; replace with bolded text from […]

Clip to Remove Set Number of Columns from Each Line in a File

Wednesday, February 9th, 2005

;by don at htmlfixit dot com on 2/9/2005 ^!Info This clip will x columns from all lines in a file ^!Set %remove%=^?{Enter Columns to Remove=_1|2|3|4|5|6|7|8|9|10|11|12|13|14|15|16|17|18|19|20|21|22|23} ^!Jump Doc_Start ^!SelectTo ^$GetLinecount$:^$Calc(^%remove%+1)$ ^!Continue Is the last line selected to the proper column? ^!ToolBar Delete Block ^!Info [C]Done I think this will work well. The select in Notetab is […]

Clip to Strip Search Terms From Server Logs

Friday, February 4th, 2005

A list user had referrer logs on his server and wanted to strip the search terms from them. I wrote this: ;effort by don at ;02/04/05 ; to take query terms from lines of stats ;one long example line ;”We are what we know” ;becomes ;”We are what we know” ;turn off wordwrap ^!SetWordWrap […]

Strip HTML except Images and Links

Friday, January 14th, 2005

A reader asked if it is possible to strip all html except for image and link tags, and then reformat as a “clean” html page with links and images included in the finished product. I wrote this little script that does it as a notetab clip. It simply substitutes an unusual string for the < […]

Strip Meta Keyword/Description Tags

Thursday, January 13th, 2005

This clip will strip the meta tags but preserves the keywords and descriptions as html comments. ;effort by don at ;1/13/05 ;clip strips html meta tags of type ;keywords and description from a document ;but leaves the keywords or description content ;in a comment with a preceeding comment saying ;what tag it came out […]

List all capitalized words in a file

Saturday, December 4th, 2004

A reader on the notetab list asked for a clip to generate a list of words with a first letter capitalized (the rest of the word can be upper or lower cased so long as the first letter is capitalized). I tried a couple of versions that worked pretty well on my test files. Because […]

^$IsUppercase really means NotLowercase

Saturday, December 4th, 2004

I found something interesting the other day … non-uppercase characters were testing positive for ^$IsUppercase. While you might presume only an uppercase character/string would test positive for this, it is actually testing to be sure there are no lower-case alphabetic characters. The opposite is also true with ^$IsLowercase testing for Not Uppercase. So you first […]

^$GetLinecount$ updates as lines are deleted

Saturday, December 4th, 2004

I wanted to see if ^$GetLinecount$ updates on the fly every time a line is deleted. It does as shown by the following clip: ; by don at ; this clip is to show that ; if you delete lines the ; variable ^$GetLinecount$ updates ; itself on the fly ;create file ^!Menu File/New […]

Open Files in Irfanview

Wednesday, December 1st, 2004

A reader on the YahooGroups Clips List was wondering how to open files in Irfanview via a NoteTab Clip. I proposed the following two solutions:

Generate Random List of CSV Field Data

Monday, November 29th, 2004

This clip will take a selection of data contained in a comma separated file (without quotes) and reorder those fields in a random fashion.

HTML: Remove & and replace with &amp

Monday, November 29th, 2004

It is often necessary to replace the & character with the entity &amp; to get validated (x)html. This clip will replace all appropriate ampersands excluding those that are part of defined character entities.

Remove Lines with Numbers

Monday, November 29th, 2004

This regex loop will remove all lines that contain only numbers on them. There is a quirk so that it won’t work correctly on one pass, so I loop it to get it to work correctly. ; by don at ; removes all numbers on a line ; for some reason the regex doesn’t […]

Calculate Splits for a 5 Kilometer Race

Monday, November 29th, 2004

I regularly have to create target splits for a five kilometer (5K or 5,000 Meter) race. This clip creates even mile splits based upon a target finish time.

Find Sub-string in Longer String

Monday, November 29th, 2004

These may display very funny for some people because of the use of the pre html tag.

Notetab Clips

Monday, November 29th, 2004

I am a big fan of NoteTab, a text editor on steroids. I use the pro version of this software, but there is also a free, no nags or advertisements, light version available. One of my favorite features of Notetab is the clips (and I will save a bunch I wrote/write here)

Recent Posts