Regular Expression and Useage
- From: "inderpaul_s@xxxxxxxxx" <inderpaul_s@xxxxxxxxx>
- Date: Tue, 30 Oct 2007 10:54:43 -0700
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
.
- Follow-Ups:
- Re: Regular Expression and Useage
- From: Paul Lalli
- Re: Regular Expression and Useage
- From: TonyV
- Re: Regular Expression and Useage
- Prev by Date: Re: Spread***::Parse & Write Excel
- Next by Date: How to convert timestamp to epoch?
- Previous by thread: Perl and modifying a PDF document
- Next by thread: Re: Regular Expression and Useage
- Index(es):