[Description]
亿以下中文小写数字转阿拉伯数字。
[Options]
RegExp=1
Multiline=1
Direction=8
[SearchReplace]
○	零
[Options]
ReplaceFunction=1
[SearchReplace]
([零一二三四五六七八九十百千]+)	var N1="零一二三四五六七八九";var N2="0123456789";var nLen=$1.length;var S1='';var S='';for(var i=0;i<nLen;i++){S1=$1.charAt(i);if(N1.indexOf(S1)!=-1){if (S1=="零" && i==nLen-2 && $1.charAt(i-1)=="千") S+="00";else S+=N2.charAt(N1.indexOf(S1));}else{if (i==nLen-1){if (S1=="十") S+="0";else if (S1=="百") S+="00";else if (S1=="千") S+="000";}}}return S;
[Options]
ReplaceFunction=0
[SearchReplace]
万(\d{4})([^0-9]?)	$1$2
万(\d{3})([^0-9]?)	0$1$2
万(\d{2})([^0-9]?)	00$1$2
万([^0-9]?)	0000$1
