[BNM] regex
Alex Beston
alex.beston at gmail.com
Wed Jun 28 12:05:48 BST 2006
hi BNM
preg_match_all("/[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}/", $str,
$arr);
im wondering if theres a more succinct regex for the above, which the astute
would immediately see as a match for an IPv4 number.
how would i shorten " [0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\." , for example?
thanks!
Alex
--
- - - - - - - - - - - - - - - - - - - - - - - - -
0ffice: 82 Queens Road, Brighton
Mobile (3 network): 07886 487 271
WWW: deltatraffic.co.uk
More information about the BNMList mailing list
BNMList is hosted by Screenlists, a Screen-Play.net service