Is this you? As a journalist, you can create a free Muck Rack account to customize your profile, list your contact preferences, and upload a portfolio of your best work.
Claim your profile
As far as your patterns are concerned, this would be the safest to match only intended strings: grep 'AB.\{0,1\}-DEF' file.txt Or grep -E 'AB.?-DEF' file.txt . matches any single character, ? and \{0,1\} matches the previous token zero or one time, so in total .? and .\{0,1\}will match zero or one character before -DEF. If you use AB.*-DEF or AB.*DEF, grep will greedily match unintended strings, for example: ABCG-DEF ABCGLHHJKH90-DEF
People have (immense) faith in God. In place of immense, what would be the proper word to convey that 'the faith is not immense, but it is that which can't be given up, due to the fear of being alone. Even having less faith in God, we can't give up' ?
As a journalist, you can create a free Muck Rack account to customize your profile, list your contact preferences, and upload a portfolio of your best work.