`

JavaScript for UltraEdit

阅读更多
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 with license

    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 ...

    JavaScript实例精通

    开发环境:、Dreamwave、Notepad、UltraEdit,或者其他文本编辑器 Web服务器:IIS 5.1及以上版本 2.本书所附光盘范例 第1章(\1) 示例描述:变量。 1_1.htm 变量声明。 1_2.htm 局部变量和全局变量。 1_3....

    UE(官方下载)

    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 ...

    PrimalScript.2012.v6.5.144.Cracked.by.yoza[

    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 ...

    Windows下的文本编辑器-flexedit

    能够高亮显示的语言列表有: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, ...

Global site tag (gtag.js) - Google Analytics