function removeEmptyRow()
{
for (var i=0; i < 100; i ++)
{
UltraEdit.activeDocument.findReplace.replace("0D0A0D0A","0D0A");
}
}
UltraEdit.activeDocument.top();
//remove white space rows first
UltraEdit.activeDocument.findReplace.matchCase = false
UltraEdit.activeDocument.findReplace.regExp = true
UltraEdit.activeDocument.findReplace.replaceAll = true
UltraEdit.activeDocument.findReplace.replace("^[ ]+$","")
UltraEdit.activeDocument.hexOn()
//the remove ODOAODOA
UltraEdit.activeDocument.findReplace.regExp = false
UltraEdit.activeDocument.findReplace.searchAscii = false
UltraEdit.activeDocument.findReplace.replaceAll = true
removeEmptyRow()
UltraEdit.activeDocument.hexOff()
分享到:
相关推荐
UltraEdit is the ideal text, HTML and HEX editor, and an advanced PHP, Perl, Java and JavaScript editor for programmers. An industry-award winner, UltraEdit supports disk-based 64-bit file handling ...
开发环境:、Dreamwave、Notepad、UltraEdit,或者其他文本编辑器 Web服务器:IIS 5.1及以上版本 2.本书所附光盘范例 第1章(\1) 示例描述:变量。 1_1.htm 变量声明。 1_2.htm 局部变量和全局变量。 1_3....
UE3 is the portable version of UltraEdit developed specifically for the U3 smart drive. You will need a U3-compatible USB drive for this power tip Scripting tutorial An introduction to UltraEdit's ...
PowerShell, VB Script, and JavaScript are only a few of the over 50 languages supported with syntax coloring, brace matching, code folding and more. Speed through your code with new \ edited line ...
能够高亮显示的语言列表有:ada, asm, asn1, au3, ave, baan, blitzbasic, bullant, caml, cmake, conf, cpp, csound, css, d, ed, eiffel, Embedded, erlang, escript, flagship, forth, fortran, freebasic, gap, ...