My name is Edward Tanguay. I'm an American software and web developer living and working in Berlin, Germany.
2 hours ago: "our vision for photography in berlin is for it to be lively, progressive and active" #berlin #photography @just4you http://t.co/0I59GQeV.
2 hours ago: Facebook will eventually find a way to stamp out privacy: "everyone famous to their friends & therefore public figures" http://t.co/p4V9RLSA.
3 hours ago: .@nickhoward there's a global layer of educational incompetence surfacing everywhere where people want to teach instead of help people learn.
3 hours ago: Daughter asks for more math homework, teacher says she's not allowed to work ahead --> school lesson: some authority figures are incompetent.
4 hours ago: "smarter flying robots are going to be a vital part of the future" #whatyourkidsaredoingincollege #impressive #scary http://t.co/1F2kmVSx.
4 hours ago: Now I know why I like to learn languages, it's the perfect balance between coding and acting.
3 days ago: Blogged: "The Base of Future Language-Learning Platforms: Free, Online, Dual-Language Situational Videos": http://t.co/6z8JLw8u #efl #tesl.
3 days ago: "how do you discipline your kids? / you mean how do I educate my kids?" good ideas on parenting: http://t.co/pJCYCxVL.
3 days ago: "in stand-up meetings, even employees telecommuting on Skype are not excepted" nice trend: http://t.co/dB6xcFO0.
5 days ago: 30K icy sunday #berlin winter run across großziethen crossing, 64 pics, 1 video, 69 days to #parismarathon: http://t.co/pRWmrVui.
5 days ago: FANTASTIC superbowl! right down to the last second, worth staying up for, good night, und feier schön New York.
C# CODE EXAMPLE created on Thursday, September 02, 2010 permalink
Extension method for checking regex in one line
This simple extension method allows you to check strings against regular expressions in one line.
using System;
using System.Text.RegularExpressions;
using System.Collections.Generic;

namespace TestRegex2342343
{
    class Program
    {
        static void Main(string[] args)
        {
            List<string> texts = new List<string>()
            {
                "233-2887",
                "2332887",
                "442-1121",
                "",
                null
            };

            foreach (var text in texts)
            {
                if (text.MatchesRegex("^[0-9]{3}-[0-9]{4}$"))
                    Console.WriteLine(text + " matches");
                else
                    Console.WriteLine(text + " does NOT match");
            }
            Console.ReadLine();
        }
    }

    public static class Helpers
    {
        public static bool MatchesRegex(this string text, string regex)
        {
            if (text == null || regex == null)
                return false;
            else
            {
                Match match = Regex.Match(text, regex);
                return match.Success;
            }
        }
    }
}
need markup?