
jain236
New User
Mar 31, 2010, 7:39 AM
Post #1 of 4
(9877 views)
|
Regex for ip address
|
Can't Post
|
|
Hi i am try to use regex to find id addres in the below way. <c> /\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}/ </c> in the above one \d{1,3} is repeating so i thought of writing it using \1 in below manner <c> /(\d{1,3)\.\1\.\1/ </c> it is not working , can any one help me ? or any better solution
|