Bash Extract String Between Two Characters