Replace Filters
TextPipe offers a number of different search and replace types:

- Exact match - the find string is matched exactly
- EasyPattern - an easy to use pattern matching language
- Pattern - the find string is a perl-style pattern match expression
- Sounds like - the find string is used for soundex matching. Soundex matching is a method that makes surnames such as Smith, Schmidt and Smythe all appear identical. It is very useful for finding misspellings of names
- Edit distance - Determines the number of 'edits' between the search word and words in the text being processed
- Old Pattern (egrep) - the find string is an egrep-style pattern match expression, which is not as powerful as perl pattern matching
- Brief pattern match - the find string is a pattern match expression in the style of the text editor Brief
- MS Word pattern - the find string is a pattern match expression in the style of Microsoft Word
- Unicode exact match - used for finding text in Unicode files
- Unicode pattern match - for finding Unicode text patterns in Unicode files
- Load a search/replace list from Excel, CSV or Tab
- Search/replace list
- Find an HTML/XML element (e.g. <table...>)
- Find an HTML/XML attribute (e.g. height="...")
- Find between an HTML/XML pair (e.g. <script>...</script>)
Note:
- This filter copes with single and double quotes, and escaped quotes (either doubled or escaped with backslash
- This filter copes with angle brackets within single and double quotes
- <!-- --> comment tags are handled specially. Comment tags can have ANY text inside them - quotes are not matched
- <!DOCTYPE > tags are handled specially to allow for included DTDs enclosed in []
- <!CDATA[ ... ]]> tags are handled specially to allow for any text within the square brackets
This filter will match a maximum of 4KB of text, so if your tags have more than 4KB of text between them you'll have to use a search/replace filter as the restriction instead.
Search/replace lists
This filter is used to easily define a set of search/replace pairs that have identical search options.

From file
Loads a series of search/replace pairs from a file dynamically at run time. If the file extension is .XLS, the file is assumed to be Excel format, if the extension is .TAB the file is assumed to have tab-delimited values, and any other extension (including .CSV) is assumed to have Comma-Separated Values.
Excel spreadsheet (.xls)
The Excel spreadsheet must have data in Sheet 1, and be formatted with the search term in column A, and the replacement for it in column B. No heading is allowed.
Tab-delimited file (.xls)
The list is loaded from a Tab-delimited file. Such a file can be created with Notepad, and looks like this:
a baaaabbb cccccdddd ssss
a
aa b c
CSV-delimited file (.csv or any other extension)
The list is loaded from a CSV-delimited file. Such a file can be created with Notepad, and looks like this:
a,b
"a","b"
"aaaa""bbb","ccccc""dddd""ssss"
a,
a
a,b,c
"a","b","c"
"aaaa""bbb","ccccc""dddd""ssss","sssss""ssss"
Using these values
Use the grid to specify multiple search/replace pairs.
The string, pattern or Sounds like text to find. The string can contain unprintable characters. The right-click (or context) menu on this field supports Undo, Cut, Copy, Paste, Delete, Clear Entire Field, Select All and Select All And Copy, entering special characters and inserting pattern match characters.
Find/Replace options
Find type, Match case etc, as for normal search/replace.
|