Guest Networkingkool Posted January 30, 2012 Posted January 30, 2012 Hi everybody, I am new to this forum. Now I have a trouble and need your helps. For example: I have a text file (text.txt) containg string : "aaaaaaaaaaaaaa computer adsfjasldkfjasjflk asdlfkjwoeifj 12345" My Object is to use command line to output only string "12345" I tried to use command findstr "[1-9]$" C:\123\text.txt. The output of command is exactly the whole line containing the string "12345" not the string "12345" as I want. Anyone have better idea? Thank for any suggest. Continue reading... Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.