Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Regular Expressions
Message
De
11/03/2003 12:03:33
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Regular Expressions
Divers
Thread ID:
00764314
Message ID:
00764314
Vues:
39
Im trying to parse the users from this string:
<user>Dan</user><user>Fred</user><user>Dave</user>
I tried the expression:

<(?i:user)>(?<result>.*)</(?i:user)>

but that gave the result:

Dan</user><user>Fred</user><user>Dave

It picked if the first <user> and the last </user>.
Anyone have any ideas?

Thanks,
Dan
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform