Link Details

Link 295023 thumbnail
User 354953 avatar

By mkyong
via mkyong.com
Published: Nov 18 2009 / 13:02

10 Java Regular Expression Examples You Should Know
  • 45
  • 1
  • 3953
  • 1943

Comments

Add your comment
User 248270 avatar

ckeene replied ago:

0 votes Vote down Vote up Reply

Very nice commented examples that show exactly what each part of the wacky regex syntax does.

User 304420 avatar

Eddie Dealtry replied ago:

0 votes Vote down Vote up Reply

First class layout for explanation with Test Cases: what more could you ask for.

User 174509 avatar

philho replied ago:

0 votes Vote down Vote up Reply

Although it falls in the trap to use (too simple) regexes where it shouldn't (not handling admittedly corner cases), the article is indeed good in breaking down the concrete regular expressions into edible parts.

User 204573 avatar

Gene Gotimer replied ago:

0 votes Vote down Vote up Reply

Too many well-done regexes for cases that shouldn't be using regexes.

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.