Re: More regular expression woes
- From: "Oliver Sturm" <oliver@xxxxxxxxxxxx>
- Date: Tue, 30 Jan 2007 19:39:36 +0000
Hello John,
@"\b\d{7}\b|\b\d{8}\b",
An interesting additional idea, although obviously not really flexible - I would opt for the flexibility of \d{7,8} as long as I can make it work. Furthermore, your example could be less confusing, IMO, as
\b(\d{7}|\d{8})\b
Or of course, as
\b\d{7,8}\b
which brings us back to what has already been mentioned. Maybe I'm missing the point of your post?
Oliver Sturm
--
http://www.sturmnet.org/blog
.
- Follow-Ups:
- Re: More regular expression woes
- From: John Kn [MS]
- Re: More regular expression woes
- References:
- More regular expression woes
- From: Mark Rae
- Re: More regular expression woes
- From: Brad Prendergast
- Re: More regular expression woes
- From: John Kn [MS]
- More regular expression woes
- Prev by Date: RE: TextBox Question
- Next by Date: Re: Self update
- Previous by thread: Re: More regular expression woes
- Next by thread: Re: More regular expression woes
- Index(es):
Relevant Pages
|
|