parse ip from text by regex