I have a following text file that contains content:
┌─ This is folder description
│
├─ ##### ─────── Magenta
│
├─ Size ──────── 245.7 GiB
│
├─ URL ───────── https://www.google.com
│
│
├─ Video ─────── 23.976fps
│
├─ Audio ─────┬─ French
│ │
│ │
│ └─ German
│
├─ Subtitles ─── French, German, Italian, C#
I want to verify if there is French
between Audio and Subtitles, I don't care rest.
I tried:
grep -E 'Audio(.*)(French|Franz?)(.*)Sub(s|(titles?)|(titulos))' test.txt
But no match. I'm pretty sure that is something wrong in using grep. Can lead me to correct way to do that ?