Regex expression in plain english

Posted by Sebi on Stack Overflow See other posts from Stack Overflow or by Sebi
Published on 2010-05-11T01:03:08Z Indexed on 2010/05/11 1:04 UTC
Read the original article Hit count: 243

Filed under:
|

I'm working on a new Java project and therefore im reading the already existing code. On a very important part of the code if found the following regex expression and i can't really tell what they are doing. Anybody can explain in plain english what they do??

1)

 [^,]*|.+(,).+

2)

(\()?\d+(?(1)\))

© Stack Overflow or respective owner

Related posts about regex

Related posts about java