Donate your Regular Expressions...
All regular expressions really boil down to is matching, searching, and replacing.
I've been looking for a good regular expression library which include some or all of these types and that are useful.
Some methods would inlcude:
public static bool ValidEmail(string email);
public static MatchCollection FindEmails(string text);
public static MatchCollection FindLinks(string text);
etc.
If you have anything to offer, post a feedback or fire me an email via the "Contact" link to the left. I will share my final library to all those that donate!
Thanks!
(Edit: Please only WORKING C# source -Thanks again!)
2 Comments
Comments have been disabled for this content.
Rob Chartier said
Jarno,
I only want C# examples because it is simply my preference. I would rather work in C# thus if you only have VB.NET source then you can ignore this request.
Lazy? Yes, I can admit to that. As a programmer I would rather scour the web to find source than to reproduce it on my own, and if justified even purchase it. And since I'am not getting much response to this request I will most likely code what I need on my own either way.
A big part of existing in a community (like this .NET one we co-exist in), is sharing. My request is simply out there to see if anyone is willing to share their work, not very unreasonable, is it? Yes I could google it, but as I said why reproduce when you can just share it.
Thanks for your feedback!
Scott C. Reynolds said
Check out the validation library of NUtility. It has a bunch of different useful ones.
Also regexlib, which has been mentioned.