Windows command line regular expression




















Add a comment. Active Oldest Votes. Though I keep it. These command can operate on files obviously. Improve this answer. Community Bot 1. Does grep have inbuilt PCRE?

I was able to find pcregrep but stuck how to use it with files. I already have grep. Let me try — Rahul Patel. Look here stackoverflow. How to do perl regex find and replace from from window? Does perl comes for windows? Rahul perl is a major programming language, of course you can download perl for windows.

If you view my answer at that second link as I said , then you'll see I say that I did that in cygwin, which suggests that one option at least, is that perl can be downloaded via cygwin.

Show 4 more comments. Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Is this really about regular expression? Looks more like a simple wildcard match Add a comment. Active Oldest Votes. Improve this answer. Ferruccio Ferruccio Thanks a lot. Exactly the kind of answer I was hoping for : — Damien Golding. Sign up or log in Sign up using Google. Sign up using Facebook.

Sign up using Email and Password. Post as a guest Name. Email Required, but never shown. The Overflow Blog. To list the exact files that you want to search in a text file, use the search criteria in the file stringlist.

To list every file containing the word computer within the current directory and all subdirectories, regardless of case, type:.

To list every file containing the word computer and any other words that begin with comp, such as compliment and compete , type:. Skip to main content. This browser is no longer supported. Download Microsoft Edge More info. Contents Exit focus mode. Is this page helpful? Please rate your experience Yes No. Any additional feedback?



0コメント

  • 1000 / 1000