Re: Regular Expression and Useage
- From: "inderpaul_s@xxxxxxxxx" <inderpaul_s@xxxxxxxxx>
- Date: Tue, 30 Oct 2007 13:10:23 -0700
On Oct 30, 11:31 am, TonyV <kingskip...@xxxxxxxxx> wrote:
On Oct 30, 1:54 pm, "inderpau...@xxxxxxxxx" <inderpau...@xxxxxxxxx>
wrote:
I'm somewhat new to regular expression and want to know how to extract
any strings which match an IP address.
I found this on the net and wanted to know if this is the most
efficient (easiest/shortest) way to write the expression or pattern to
match. Also in the discovered solution why do they use the \b word
boundary switch since the characters are of a numeric type ? I'm not
sure about this.
\b\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}\b
Many thanks in advance.
Victor
Please take a look at the answers to the exact same question you
posted less than 24 hours ago in the thread titled, "Regex Help."
--TV
Sorry to ask but if you can send me the URL to the post I would be
happy to read that. For some reason I have been unable to find my own
post either through my profile or just plain searching the NG where I
posted. Hence the reason for my posting again. I'm not sure what the
issue is.
.
- References:
- Regular Expression and Useage
- From: inderpaul_s@xxxxxxxxx
- Re: Regular Expression and Useage
- From: TonyV
- Regular Expression and Useage
- Prev by Date: Re: How to convert timestamp to epoch?
- Next by Date: Re: Regular Expression and Useage
- Previous by thread: Re: Regular Expression and Useage
- Next by thread: Re: Regular Expression and Useage
- Index(es):
Relevant Pages
|