[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

[MacPerl] REgular Expression for IP address



Hello All:

	This might not be the appropriate venue for this question, 
but heregoes:

	Can anyone help me with a regular expression to pull out 
numeric IP addresses from a line of text (i.e 192.168.0.2)? I've 
tried /(\d+)\.(\d+)\.(\d+)\.(\d)/ but to no avail.

	Thanks,

Mark

-------------------------------------
Mark W. Alme
Bull Goose Loon
http://www.bustedknuckle.com, your daily ill-fortune
-------------------------------------

# ===== Want to unsubscribe from this list?
# ===== Send mail with body "unsubscribe" to macperl-request@macperl.org