Extract Text Data with Bash and Regex