how to match all group and subgroup in pcre

Posted by mono on Stack Overflow See other posts from Stack Overflow or by mono
Published on 2010-05-07T05:35:33Z Indexed on 2010/05/07 5:38 UTC
Read the original article Hit count: 413

Filed under:
|
|

a ip or other string, like "11.22.33.44" or "aa.bb.cc.dd". basically, I think it is very easy, (([\d\w]+)+\.)+[\d\w]+ but the problem is which group these submatches are in. not like ip, some string is consist of lots of words+separate

in pcre, I don't know how to extract it all words -- "aa bb cc dd ..."

© Stack Overflow or respective owner

Related posts about pcre

Related posts about regex