grep -PounixshellgrepregexstringperlWed Feb 16, 2022Using grep to do substring extraction in shell scripts.read more about grep -Po