I have some pipe. For example, I have this pipe:
user@user:~$ cal | head -1 | grep -oP \"[A-Za-z]+\"
For this pipe I get this result:
month=$(cal | head -1 | grep -oP "[A-Za-z]+")
or
month=$(date +%B)