PowerShell PowerShell $num = 911111111 #Tiene entre 5 y 10 dígitos $num -match '^\d{5,10}$' #Tiene exactamente 7 dígitos $num -match '^\d{7}$' 1234567 $num = 911111111 #Tiene entre 5 y 10 dígitos$num -match '^\d{5,10}$' #Tiene exactamente 7 dígitos$num -match '^\d{7}$'