Identify IP address using regular expression in bash script #bash