Category "grep"

Parsing HTML on the command line; How to capture text in <strong></strong>?

I'm trying to grab data from HTML output that looks like this: <strong>Target1NoSpaces</strong><span class="creator"> .... <strong>Targ

How to use sed/grep to extract text between two words?

I am trying to output a string that contains everything between two words of a string: input: "Here is a String" output: "is a" Using: sed -n '/Here/,/

grep search with regex

how to find a line that contains exactly 3 "w", 5 "t" and no "v" with grep? Input: ---------- aabbccddd4444 wccwwtttjjttuu zzxxxwwwmmmnnnn Expected output: --

How to grab text after newline in a text file no clean of spaces, tabs [closed]

Assume this: It needs to pass a file name as an argument. This is the only text I’m showing. The remaining text has more data (not shown

grep after grep : No such file or directory

To create a test file contains blanks in the filename first: vim "/tmp/it is a test.txt" bash escape Search with grep: grep -lr 'bash' /tmp /tmp/it is