Article 51Q02 [SOLVED] Word That Begin With q and end with k

[SOLVED] Word That Begin With q and end with k

by
blueray
from LinuxQuestions.org on (#51Q02)
I have a sentence: the question, did the quick brown foxxxxxx quack wearing nik

Here, I want to extract words starting with q and ending with k using preferably grep.

What I got so far is:

Code:grep -P "\bq.*?k\b" regex.txtIt yields 2 matches: question, did the quick and quack

How can I yield quick and quack from the sentence using regex?latest?d=yIl2AUoC8zA latest?i=sz-SGiMYEMs:F791fU_vayo:F7zBnMy latest?i=sz-SGiMYEMs:F791fU_vayo:V_sGLiP latest?d=qj6IDK7rITs latest?i=sz-SGiMYEMs:F791fU_vayo:gIN9vFwsz-SGiMYEMs
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments