Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Extraire une chaîne de caractères via regex
#exemple pour extraire une adresse IP
$ipaddress=[regex]::match($awsoutput,"\b\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}\b").Value
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment