echo "MYFIRST_Bla_bla_bla_123" | grep -oP "^[^_]*"
MYFIRST

computer2know :: thank you for your visit :: have a nice day :: © 2024