Salut, j'ai un pb avec les reg exp.
En fait j'ai une chaine de caractère formaté de la facon suivante
etape_test_hello;truc_machin;bidule_truc_trucmuche
et enffait je dois recuperer
etape_test_hello
truc_machin
bidule_truc_trucmuche
j'ia essayer comme ca
mais ca marche pas
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2 my $test = (/(\w+ | \_)\;/);
qq1 peut m'aider ?
Partager