Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
RegEx Question
Message
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Titre:
Divers
Thread ID:
01497468
Message ID:
01497473
Vues:
77
>>>I have this RegEx - "BR[0-9][0-9][0-9]"
>>>
>>>How do I modify it so tht it works for "BR108" and "CC129" and only those?
>>
>>
>>(BR108|CC129)
>>
>>
>>>
>>>Thanks
>
>If the numbers can change, would this work?
>(BR[0-9][0-9][0-9]|CC[0-9][0-9][0-9])

Yes - but there are shorter answers - see Rob's reply
Gregory
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform