#!/bin/bash
echo "instream(10.20.213.11@40266):" | \
  sed -E 's/.*[^0-9]([0-9]+\.[0-9]+\.[0-9]+\.[0-9]+).*/\1/'