ReplaceRegex Icon

ReplaceRegex

ReplaceRegex replaces text using regular expressions.

ReplaceRegexOverview

Replaceregex command line program finds a given string (or a regular expression pattern) in a batch of files, replaces them with another string and places the output files in a separate directory if such directory is specified. The file size must be small enough to fit in available memory.
Command line parameters are:
-srcdir adirectory directory of the original files. By default, this is the current directory.
-destdir adirectory destination directory to save modified files. By default, this is the current directory. The source files will be over written.
-find atext this is the simple text to replace.
-regex atext this is the regular expression pattern to replace. You can use capturing groups as () and you can refer to these groups using $1, $2 etc syntax in the replacement text. You can also have escaped characters like \t, \r, \n.
-replace atext replace the text that was found with this one. Captured regular expression groups can be used as $1, $2 and so on.
-fname apattern the file name pattern to search, for example *.*
-casesens presense of this flag means search is case sensitive.
-quotes atext is used to represent double quotes in the -find, -regex and -replace parameters. This is to help escaping quotes inside your -find, -regex and -replace parameters.
-tab atext is used to represent tab (\t) character in the -find and -replace parameters. This is to help escaping tab inside your -find and -replace parameters. Use regular expression escapes for -regex.
-cr atext is used to represent carriage return (\r) character in the -find and -replace parameters. This is to help escaping carriage return inside your -find and -replace parameters. Use regular expression escapes for -regex.
-lf atext is used to represent new line character (\n) in the -find and -replace parameters. This is to help escaping new line inside your find parameters. Use regular expression escapes for -regex.
-r recursively process sub directories.

Bestcode is pleased to provide the following file utilities to make bulk processing of files easier through simple, scriptable command line utilities and powerful regular expression functionality when needed.

Dos2Unix command line program converts carriage return, line feed pairs (\r\n) to line feeds (\n) and places the output files in a separate directory if such directory is specified. The file size must be small enough to fit in available memory.

Unix2Dos command line program converts line feeds (\n) to carriage return, line feed pairs (\r\n) and places the output files in a separate directory if such directory is specified. The file size must be small enough to fit in available memory.

Replaceregex command line program finds a given string in a batch of files, replaces them with another string and places the output files in a separate directory if such directory is specified. The file size must be small enough to fit in available memory.

RenameRegex command line program renames files whose name matches a regular expression places the output files in a separate directory if such directory is specified.

FileLineFilterRegex command line program eliminates text lines from text files based on regular expression patterns.
This program removes all lines which does not match a regular expression from text files places the output files in a separate directory if such directory is specified. The file size must be small enough to fit in available memory.

Bestcode File Utilities Pack comes as a zip file.

For more information, please visit <a href="http://www.bestcode.com">http://www.bestcode.com</a>

NEW

Initial release.

ReplaceRegexInformation

Version
1.0
Date
04.20.08
License
Trial
Language
English
File Size
0.02 MB
Developer
SubCategory
Operating Systems
Windows2000,WinXP,Windows2003,Windows Vista Starter,Windows Vista Home Basic,Windows Vista Home Premium,Windows Vista Business,Windows Vista Enterprise,Windows Vista Ultimate,Windows Vista Home Basic x64,Windows Vista Home Premium x64,Windows Vista Business x64,Windows Vista Enterprise x64,Windows Vista Ultimate x64
System Requirements
No additional system requirements.
JbcParser Icon
JbcParser evaluates math expressions given as strings at runtime.
Trial
bcParser.NET Icon
bcParser.NET evaluates math expressions given as strings at runtime.
Trial
TbcParser Icon
TbcParser evaluates math expressions given as strings at runtime.
Trial
bcParserCPP Icon
bcParserCPP for C++ evaluates math expressions given as strings at runtime.
Trial
bcParserX Icon
bcParserX evaluates math expressions given as strings at runtime.
Trial
Bestcode File Utilities Pack Icon
File utilities, replace, rename files, filter lines with regular expressions.
Trial
Unix2Dos Icon
Unix2Dos converts text files from Unix to DOS format.
Trial
RenameRegex Icon
RenameRegex renames files using regular expressions.
Trial
More
XXCOPY Icon
A versatile file management tool, using XCOPY compatible command syntax.
Free
SanDisk RescuePRO Deluxe Icon
Recover your data from SSD drives.
Demo
Ava Find Icon
Find any file on your computer instantly.
Free
HDD Capacity Restore Icon
HDD Capacity Restore recovers full factory capacity of a hard disk drive
Free
Vistanita Duplicate Finder Icon
Find True Duplicate Files, Duplicate MP3 and Duplicate Pictures / photos.
Trial
MS Works Converter Icon
Converts Microsoft Works files (extension wks and wdb) to Excel format.
Trial
Partition Find and Mount Icon
Partition Find and Mount: Painless Partition Recovery
Free
Disk Repair Software Icon
Hard disk drive bad sector repair and removal software tool.
Demo
More