| Home | Latest addition: (Click  to get your text back.) |

Utility: Super Text Editor

(Tested using IE6, IE7, Firefox 2 and Firefox 3)

1. Try clicking the button above. Then try clicking the other buttons to see what effect they have on the sample text.

2. To edit your own text, “Copy/Paste” it from a web page, an email message, a text editor, or a word processor into the text area above.

3. To save or print the edited text, do a “Copy/Paste” to your text editor or word processor.

NOTE: Clicking the button will cause that particular button box to become the topmost box.

NOTE: The only time that the “undo” data is saved for the search and the replacement string text boxes is when is clicked. The S&R “undo” data is stored in a “push-down stack.” Therefore, none of it will be lost until this window is closed. This is a very handy feature if you intend to apply multiple search/replace operations to multiple bodies of text.

reverses the effect of .

NOTE: The functions activated by the various buttons always act on all of the text in the text box. It makes no difference whether or not part of the text in the text box is highlighted. The highlighting is simply ignored.

Before clicking , make sure that all paragraphs are separated by blank lines or are indented at least 2 spaces.

If the “Force max line length:” check box is not checked, then the button functions as an “Eliminate word wrap” button.

If the “Force max line length:” check box is checked, then the button functions as an “Add word wrap” button.

* The button converts an “ordinary text” search string into the required, “Regular Expression” search string. Simply manually enter or “copy/paste” the search string, including any special characters or characters, into the “Search String:” text box, and then click . (The converted search string replaces the unconverted string.)

TIP: can be used in the unconverted search string as a shortcut meaning “Anything can go here.”

The following are some examples of the very powerful function which utilizes the “Regular Expression” search/replacement strings:

EXAMPLE #1: Try clicking and then .

NOTE: If the “Replacement string” contains one or more substrings, then each of the substrings in the replacement string is replaced by the text which is represented by the first part of the search string which is enclosed in characters. All of the substrings in the replacement string are replaced by the text represented by the second part of the search string which is enclosed in characters, etc.

EXAMPLE #2: Suppose you want to delete all of the “>” characters which occur at the beginning of a line. Then the “Search string” would be either or , and the “Replacement string” would be . Search string: and Replacement string: would also work, but the first line would have to be edited manually.

EXAMPLE #3: Suppose you are editing a web page (HTML), and you want the number portion of every line that begins with a number to be in bold. Then the “Search string” would be , and the “Replacement string” would be .

The above can get quite confusing, so please be careful! If the result is not what you expected, then click the button which is immediately to the left of the button.

For more examples of search / replacement string syntax using Regular Expressions, see http://LLBest.com/RegularExpressions.htm.

For complete documentation on Regular Expressions, see http://ashutoshsaxena.tripod.com/jstut/quickstart/ch080.html.

To see an example of the uniquely powerful features of the “[ Add | Renumber | Remove ] line numbers.” functions, go to http://LLBest.com/Renumber.htm, click the button, and then the button, etc.)

NOTE: This web page was created using Notepad. Except for the background image file, the keyboard command JavaScript file and the common JavaScript file, it is completely self contained, and the absence of these three files will not cause any problems. Please feel free to save it to your hard drive using “File/Save as….” Double-click on the newly created “LLBest - Utility - Super Text Editor” icon (“TextEditor” icon for Firefox), and make it one of your “Favorites.” It will work perfectly even when you are no longer connected to the Internet, or, heaven forbid, when this web page is no longer available!

Questions, comments and suggestions are welcome.
Howard Best ()

| Home | THIS WEB PAGE URL: http://LLBest.com/TextEditor.htm |