Super Replace/Find/Extract

Register Information
Introduction
User Guide
User Reference
Download

====================Register Information====================
Free User:For 100 days,without any technology support;
Personal User:$29,without technology support for regular-expression;
Enterprise User:$1490;
One license for one computer.
Home Page:http://www.newcoding.com.cn;
Email:liaotianlei@163.net;
Telephone:+86(10)62979435 Miss Xia.

====================Introduction====================
    This software can help you to replace/find/extract strings in your files,or rename these files.You can use regular expression,and very long or mutil-line expression;You can hilight or extract finded strings...
    Characteristics:
1.It can do many strings in many files at one time;
2.Hilight finded string(for Text/HTML/XML);
3.When rename some files,these files's name can include sequence number;
4.Support regular expression;
5.Support Text/HTML/XML and doc/rtf/xls/ppt;
6.These strings can be long and mutil-line;
7.String expression can be saved and reused;
8.It can extract destination-string,etc.for example,comment for cpp code;
9.Support auto-backup;

====================User Guide====================

Step 1.Add Files to File-List
    File-List list all files to do;On the left,the "No." display file's sequence number;If you don't check one row,the file will be not to do;on the right,the "Count" display times when the file is replaced or finded;You can use these buttons:
    Add/Add By Directory:Add file to File-List;"Add" can add one or more files;"Add by Directory" can add some or all files in one folder;
    Remove/Clear:Remove file fome File-List;"Remove" Remove one or checked files;"Clear" can remove all files;
    View:View selected file with hilight when this file has finded;
    SelectAll/UnSelect:Check or Uncheck files;
    MoveUp/MoveDown:Move file up or down from File-List;

Step 2.Add strings to String-List for replacing or finding
    String-List list those strings to find and replace;If you don't check one row,the row will be not to do;on the right,the "Count" display times when the file is replaced or finded;You can use these buttons:
    Add:Add strings to String-List for replacing or finding;
    Edit:Edit and modify these strings;
    Remove/Clear:Remove row fome String-List;"Remove" Remove one or checked rows;"Clear" can remove all rows;
    SelectAll/UnSelect:Check or Uncheck rows;
    MoveUp/MoveDown:Move row up or down from String-List;
    Import/Export:Import rows from file or export rows to file for reuse;
    
Step 3.Select options and buttons to work
    Options:
    Regular Exp.:Strings in String-List are simple or regular expression;
    Match Case:Case Sensitive or not when matching;
    Output Result:Out result or not when finding;
    Auto Backup:Backup file with suffix ".bak";

    Buttons:
    Replace:Begin to replace files;
    Find:
Begin to find files;
    Rename:
Begin to rename files;
    Chinese Code:
Begin to change file between Traditional Chinese and Simplified Chinese;
    Restore Backup:Rename backuped file to original file;
    Clear Backup:Clear all backuped file;

====================User Reference====================
1.Simple Expression:
In string to find and replace:
\r is character "return";
\n is character "new line";
\t is character "table";
\\ is character '\';

2 .Regular Expression:
In string to find and replace:
\r is character "return";
\n is character "new line";
\t is character "table";
\\ is character '\';
more detail:

string to find

. Matches any single character.
[ ] Indicates a character class. Matches any character inside the brackets (for example, [abc] matches "a", "b", and "c").
^ If this metacharacter occurs at the start of a character class, it negates the character class. A negated character class matches any character except those inside the brackets (for example, [^abc] matches all characters except "a", "b", and "c").
If ^ is at the beginning of the regular expression, it matches the beginning of the input (for example, ^[abc] will only match input that begins with "a", "b", or "c").
- In a character class, indicates a range of characters (for example, [0-9] matches any of the digits "0" through "9").
? Indicates that the preceding expression is optional: it matches once or not at all (for example, [0-9][0-9]? matches "2" and "12").
+ Indicates that the preceding expression matches one or more times (for example, [0-9]+ matches "1", "13", "666", and so on).
* Indicates that the preceding expression matches zero or more times.
??.+?.*? Non-greedy versions of ?, +, and *. These match as little as possible, unlike the greedy versions which match as much as possible. Example: given the input "<abc><def>", <.*?> matches "<abc>" while <.*> matches "<abc><def>".
( ) Grouping operator. Example: (\d+,)*\d+ matches a list of numbers separated by commas (such as "1" or "1,23,456").
{ } Indicates a match group.
\ Escape character: interpret the next character literally (for example, [0-9]+ matches one or more digits, but [0-9]\+ matches a digit followed by a plus character). Also used for abbreviations (such as \a for any alphanumeric character; see table below).
If \ is followed by a number n, it matches the nth match group (starting from 0). Example: <{.*?}>.*?</\0> matches "<head>Contents</head>".
Note that in C++ string literals, two backslashes must be used: "\\+", "\\a", "<{.*?}>.*?</\\0>".
$ At the end of a regular expression, this character matches the end of the input. Example: [0-9]$ matches a digit at the end of the input.
| Alternation operator: separates two expressions, exactly one of which matches (for example, T|the matches "The" or "the").
! Negation operator: the expression following ! does not match the input. Example: a!b matches "a" not followed by "b".
\a Any alphanumeric character: ([a-zA-Z0-9]);
\b White space (blank): ([ \\t]);
\c Any alphabetic character: ([a-zA-Z]);
\d Any decimal digit: ([0-9]);
\h Any hexadecimal digit: ([0-9a-fA-F]);
\N Newline: (\r|(\r?\n));
\q A quoted string: (\"[^\"]*\")|(\'[^\']*\');
\w A simple word: ([a-zA-Z]+);
\z An integer: ([0-9]+);

string to replace

{x}Indicates the actual text of a match group. x indicates this group's sequence number.

{i;w=x;r=y}Indicates current file's sequence number;w=x indicates width,r=y indicates sequence number's base;