Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
RegEx Question
Message
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Title:
Miscellaneous
Thread ID:
01497468
Message ID:
01497473
Views:
75
>>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform