rxreplacer.srf

来自「Vc.Net入门与提高源码」· SRF 代码 · 共 42 行

SRF
42
字号
<HTML><HEAD>
<TITLE>Regex Replacer</TITLE></HEAD>
<BODY>{{handler RxReplacer.dll/Default}}
<br>
<form name=theForm enctype="multipart/form-data" method=post action=RxReplacer.srf>
<p>
Regular Expresion to look for:<input type=text name=regex size=50> ie:&nbsp; "{hello} {world}" </p>
<p>&nbsp;</p>
<p>

Expresion to substitute it for:<input type=text name=newexp size=50>&nbsp; ie:&nbsp; "$2 $1"&nbsp; (this would 
substitute "hello world" with "world&nbsp;hello" in your file)&nbsp; </p>
<p>&nbsp;</p>
<p>

<input type=checkbox name=global checked> Global Substitution(vs first instance)</p>
<p>

<input type=checkbox name=usevars>Substitute Variables 
</p>
<p>
<input id=Checkbox1 type=checkbox checked name=casesensitive>Case Sensitive</p>
<p>
<select name=contenttype >
<option value="text/plain" selected>Return as text</option>
<option value="text/html">Return as html</option>
<option value="invalidtype">Return as binary</option>
</select>
<p>    


&nbsp;File to Modify 

<input type=file name=theFile > </p>
<p>

<input type=submit value="Get Modified File"> 
</p>

</form>
<br></FORM></BODY></HTML>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?