I found the way!!!!
findstr /s /r "\<[a-z][a-z][a-z][a-z][a-z]\> \<[a-z][a-z][a-z][a-z]\> \<[a-z][a-z][a-z]\> " .\*
Search found 2 matches
- 19 Apr 2013 08:03
- Forum: DOS Batch Forum
- Topic: findstr in dos - regular expressions
- Replies: 6
- Views: 7776
- 18 Apr 2013 20:46
- Forum: DOS Batch Forum
- Topic: findstr in dos - regular expressions
- Replies: 6
- Views: 7776
findstr in dos - regular expressions
How can i get a range of 3 to 5 lowercase letters using findstr with regular expressions. For example: abc defg aqwer Any of the above should match. SO far the only way i know to do it is like this: findstr /rc:"[a-z][a-z][a-z][a-z][a-z]" .\* findstr /rc:"[a-z][a-z][a-z][a-z]" .\...