EmEditor (text editor) Forum Index Regular Expressions
regular expressions from command line | Register To Post |
| Flat | Previous Topic | Next Topic |
| Poster | Thread |
|---|---|
| ralfsk | Posted on: 2/23/2012 10:00 pm |
Just popping in ![]() ![]() Joined: 2/23/2012 From: Posts: 2 |
regular expressions from command line Hi.
I was trying to create batch file that executes emeditor.exe /fi "[0-9]{1,10}((;\n){5}).B\n((;;[0-9]*.*\n){1,50}).F\n*.*;;;;;" /x "c:\test\2.txt" /rw "delete" at some point but nothing happens! any ideas? I have used emeditor in batch files to execute command like emeditor.exe /fc "|" "W:\HW_I\param.txt" /rw " " or emeditor.exe /fc "^.* .*$" /x "W:\HW_I\stsumm.txt" /rw "" and the seem to work fine.... [0-9]{1,10}((;\n){5}).B\n((;;[0-9]*.*\n){1,50}).F\n*.*;;;;; works in emeditor if i try to find it but not from command line =[ text file to match this string look like: .H ; 2;Inguna4; ; ; 013067; ; ; ; ; .B ;;927704;Augsne orhidejĘm;Gab;1,000;1,99;22,00;0;0,27;25,1356; ;;481332;Augsne;Gab;1,000;0,99;22,00;0;0,17;7,0800;;;;;; ;;927704;Augsne orhidejĘm;Gab;1,000;1,99;22,00;0;0,27;25,1356; ;;481332;Augsne;Gab;1,000;0,99;22,00;0;0,17;7,0800; ;;927704;Augsne orhidejĘm;Gab;1,000;1,99;22,00;0;0,27;25,1356; ;;927704;Augsne orhidejĘm;Gab;1,000;1,99;22,00;0;0,27;25,1356; ;;481332;Augsne;Gab;1,000;0,99;22,00;0;0,17;7,0800;;;;;; ;;927704;Augsne orhidejĘm;Gab;1,000;1,99;22,00;0;0,27;25,1356; ;;481332;Augsne;Gab;1,000;0,99;22,00;0;0,17;7,0800; ;;927704;Augsne orhidejĘm;Gab;1,000;1,99;22,00;0;0,27;25,1356; ;;927704;Augsne orhidejĘm;Gab;1,000;1,99;22,00;0;0,27;25,1356; ;;481332;Augsne;Gab;1,000;0,99;22,00;0;0,17;7,0800;;;;;; ;;927704;Augsne orhidejĘm;Gab;1,000;1,99;22,00;0;0,27;25,1356; ;;481332;Augsne;Gab;1,000;0,99;22,00;0;0,17;7,0800; ;;927704;Augsne orhidejĘm;Gab;1,000;1,99;22,00;0;0,27;25,1356; .F 23,12;;;;; |
| Flat | Previous Topic | Next Topic |
| Subject | Poster | Date |
|---|---|---|
| » |
ralfsk | 2/23/2012 10:00 pm |
| |
Yutaka | 2/24/2012 9:08 am |
| Register To Post | |


