Refactor Regex Pattern - Java

Posted by UK on Stack Overflow See other posts from Stack Overflow or by UK
Published on 2010-05-06T11:50:43Z Indexed on 2010/05/06 11:58 UTC
Read the original article Hit count: 347

Filed under:
|
|

Hello All,

I have the following aaaa_bb_cc string to match and written a regex pattern like

\\w{4}+\\_\\w{2}\\_\\w{2} and it works. Is there any simple regex which can do this same ?

© Stack Overflow or respective owner

Related posts about java

Related posts about regex