How to display all words that contain these characters?

后端 未结 7 1896
后悔当初
后悔当初 2021-01-03 00:05

I have a text file and I want to display all words that contains both z and x characters.

How can I do that ?

7条回答
  •  无人及你
    2021-01-03 00:27

    Sounds like a job for Regular Expressions. Read that and try it out. If you run into problems, update your question and we can help you with the specifics.

提交回复
热议问题