SED obtiene la subcadena entre dos caracteres
echo "Here is a string" | grep -o -P '(?<=Here).*(?=string)'
Armandres
echo "Here is a string" | grep -o -P '(?<=Here).*(?=string)'