Commande shell pour expression régulière
Fermé
Tyrfing33
-
18 déc. 2013 à 22:36
tuxboy Messages postés 994 Date d'inscription lundi 23 juillet 2012 Statut Membre Dernière intervention 28 mai 2019 - 19 déc. 2013 à 10:46
tuxboy Messages postés 994 Date d'inscription lundi 23 juillet 2012 Statut Membre Dernière intervention 28 mai 2019 - 19 déc. 2013 à 10:46
A voir également:
- Commande shell pour expression régulière
- Invite de commande - Guide
- Commande terminal mac - Guide
- Classic shell windows 10 français - Télécharger - Personnalisation
- Commande chkdsk - Guide
- Commande en attente d'acceptation fnac ✓ - Forum Consommation & Internet
1 réponse
tuxboy
Messages postés
994
Date d'inscription
lundi 23 juillet 2012
Statut
Membre
Dernière intervention
28 mai 2019
189
19 déc. 2013 à 10:46
19 déc. 2013 à 10:46
Un exemple en ligne de commandes pour t'inspirer :
echo test.com | grep -P '(?=^.{5,254}$)(^(?:(?!\d+\.)[a-zA-Z0-9_\-]{1,63}\.?)+(?:[a-zA-Z]{2,})$)'
echo test.com | grep -P '(?=^.{5,254}$)(^(?:(?!\d+\.)[a-zA-Z0-9_\-]{1,63}\.?)+(?:[a-zA-Z]{2,})$)'