Partager via


Cool Regular Expressions Resources

Ok I accept I might be the be the only one on the planet that struggles with Regular Expression syntax!! 

But on the off chance that I'm not the only one and like me you end up trying random regex patterns in the vain hope that something might work then check out these resources.

  1. https://www.radsoftware.com.au/articles/regexlearnsyntax.aspx - This was one of the best sites I found, it's concise and focused on common scenarios and I actually understood some of the syntax for the first time!!
  2. https://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconusingregularexpressionclasses.asp - This MSDN site is ok but not as good at explaining what is going on as the first link
  3. Darren's https://www.regexlib.com/ is a cool source of Regex Expressions
  4. https://www.codeproject.com/dotnet/expresso.asp - is a pretty cool tool but start with the first link so you understand what it is trying to achieve.

Hey, if you have read this far and have shared my pain and you know of other resources please add them in to the comments.

Oh if you are wondering why you should bother with Regular expressions then you probably aren't validating your application input and you should be and they are invaluable for this purpose!! (yeah I know, motherhood and apple pie etc.. :-) )

Cheers, Dave

Comments

  • Anonymous
    December 15, 2005
    Thanks. I needed this. I was suffering in silence, refusing to admit to my affliction.
  • Anonymous
    December 16, 2005
    Any developer who deals with data manipulation (99% of all business apps) and doesn't use RegEx has been living in the stone age.

    Dave, be proud of your regex :)
  • Anonymous
    December 16, 2005
    read that http://www.oreilly.com/catalog/regex2/
    and you'll be set for life.
  • Anonymous
    December 16, 2005
    Regexlib.com. Too many bad regular expressions but some that might save you time...
  • Anonymous
    December 18, 2005
    Hi Dave, here's a shameless plug for a regex article that I wrote which might be considered a useful regex resource :)

    http://aspnet.4guysfromrolla.com/articles/022603-1.aspx

    Have a good Christmas mate; cya next year!
  • Anonymous
    June 09, 2009
    PingBack from http://cellulitecreamsite.info/story.php?id=10387