- #&cls&powershell "iex(gc '%~0'|out-string)"&pause
- $txt=@()
- gc 123.txt|%{$txt+=$_.split("_, ")[1]}
- $txt -replace '[^\d]' |tee -f 123-a.txt
- ($txt -replace '[^a-z]').toupper() |tee -f 123-1.txt
- $txt -replace '[^\u4e00-\u9fa5]' |tee -f 123-z.txt
- $txt -replace '\d' |tee -f 123-123.txt
复制代码
|