while IFS= read -r line;do echo "**$line**" done < <(ping google.com)
or with a pipe:
ping google.com | while IFS= read -r line;do echo "**$line**" done