Project Library > Text

Add line numbers to a text

Precedes each input line with a line number and displays the resulting text on the Output page.

Input Type: Plain Text | Output Type: Plain Text

Base64-decode a text

Transforms a Base64-encoded text into its original representation.

Input Type: Plain Text | Output Type: Plain Text

Base64-encode a text

Converts the input text into a string encoded with Base64 digits.

Input Type: Plain Text | Output Type: Plain Text

Convert tabs to spaces

Replaces the tab characters in a text document with a configurable number of spaces.

Input Type: Plain Text | Output Type: Plain Text

Count String Occurrences

Counts the occurrences of a string within a text.

Input Type: Plain Text | Output Type: Plain Text

Count Words

Counts the words in an English text.

Input Type: Plain Text | Output Type: Plain Text

Extract URLs from a text (Regex)

Finds URLs/links in the input text using .NET's regular expression engine. The used Regex pattern is taken from the excellent "Regular Expressions Cookbook" (written by Jan Goyvaerts and Steven Levithan and published by O'Reilly Media).

Input Type: Plain Text | Output Type: Plain Text

Find repeated words (Regex)

Finds repeated/duplicate words in the input text using .NET's regular expression engine. The Regex pattern is taken from the excellent "Regular Expressions Cookbook" (written by Jan Goyvaerts and Steven Levithan and published by O'Reilly Media).

Input Type: Plain Text | Output Type: Plain Text

Find text lines that contain a certain string

Iterates through the lines of the given input text and outputs any line that contains a specified search string.

Input Type: Plain Text | Output Type: Plain Text

Hello World (Plain Text)

The mandatory "Hello World" example that prints "Hello World!" to the output text editor.

Input Type: Plain Text | Output Type: Plain Text

HTML-decode a text

Replaces HTML character entities (such as "<" or "&") by actual characters (such as "<" and "&").

Input Type: Plain Text | Output Type: Plain Text

HTML-encode a text

Replaces reserved HTML characters (such as "<" and "&") by character-entity equivalents (like "<" or "&").

Input Type: Plain Text | Output Type: Plain Text

Longest Common Substring of Two Strings

Retrieves the Longest Common Substring (LCS) of two given strings. The code is based on an implementation found at http://en.wikibooks.org/wiki/Algorithm_Implementation/Strings/Longest_common_substring.

Input Type: Nothing | Output Type: Plain Text

Natural sort text lines

Sorts the lines of a text by natural ordering the way a human would do it. This means that a string "2" is ordered before "10," whereas a normal string comparison would yield the opposite. The example is based on code by James McCormack: http://zootfroot.blogspot.com/2009/09/natural-sort-compare-with-linq-orderby.html

Input Type: Plain Text | Output Type: Plain Text

Randomize the lines of a text file

Rearranges the lines of a text document in random order.

Input Type: Plain Text | Output Type: Plain Text

Remove duplicate lines from a text

Deletes duplicates from a given input text.

Input Type: Plain Text | Output Type: Plain Text

Remove empty lines from a text

Removes/deletes all blank lines within the input text.

Input Type: Plain Text | Output Type: Plain Text

ROT13-encrypt/decrypt a text

Applies the ROT13 transformation to a given input text. As ROT13 is its own inverse, the same algorithm can be used for encoding and decoding.

Input Type: Plain Text | Output Type: Plain Text

Word Wrap Text

Demonstrates how to wrap text after a certain number of characters.

Input Type: Plain Text | Output Type: Plain Text