News in the Category: Regex Subscribe to the rss of this category.

Total posts: 557

Mocking protected members with Moq

eXtensible mind, July 5, 2008

If you're familiar with Moq, you know that it relies on lambda expressions heavily. This is very good as you get full support from intellisense and refactoring features in Visual Studio. However, it a...

WF/WCF July MSDN Webcasts

kennyw.com, July 1, 2008

Starting last month, MSDN put together a regular series of webcasts on WCF and WF (focusing on .Net 3.5).  Here are the talks being broadcast in July:July 7th, 10:00AM (PST) Transactional Windows...

Regular Expression Visualizer - A Must Have Tool

Chris Love's Official Blog - Professional ASP.NET, June 19, 2008

This week I saw a twitter from Roy Osherove about a new Regular Expression Visualizer he built. If you do not know Roy yet, he is a very smart .NET developer for TypeMock and has done some great work ...

Number input validation

RegexLib.com - Recent Patterns, June 18, 2008

This Regex is usefull to validate if the text typed will still lead to a valid number for a international input. Replace , with \. to get an american notation...

TRIVIA

Pageflakes Community Site, June 6, 2008

Who was the British Rock Legend who just received a degree from Yale? (Answer at the bottom)There are a few local spots in San Francisco that host a weekly night of trivia. My friends and I are becomi...

Number with Decimal

RegexLib.com - Recent Patterns, June 4, 2008

This expression validate the add of numbers with or without decimal...

Fractions / Fractional Odds

RegexLib.com - Recent Patterns, June 4, 2008

This simple expression is used to validate fractions or UK odds. It will match integers, allowing 10/1 to be entered as 10, and fractions. It will not match negative numbers or fractions, spaces or an...

Get key value pairs separated by colon in a comma separated string

RegexLib.com - Recent Patterns, June 3, 2008

Sometimes I want to store some key value mapped data in xml or text file, and then retrieve them into hashtable in program. Authough this can be done by split the string by comma and colon, and then t...

Match unanchored urls in unstructured text

RegexLib.com - Recent Patterns, June 3, 2008

Use this regex to match urls (including folder, file and querystring) in unstructured text that are not in anchor tags. Replace with $1 to create anchor tags....

Social Bookmarking Ticker

Somasegars WebLog, June 3, 2008

Recently the MSDN and TechNet teams released a social bookmarking preview where members of the technical community can bookmark and tag online resources for their own use and for the benefit of others...

CSS commentary

RegexLib.com - Recent Patterns, June 3, 2008

With this regex you can find or replace any CSS commentary in your stylesheets in once. Build for use with dreamweaver. Probably works also fine in any other circumstances....

Emacs regex to grok csc compilation errors

All About Interop, May 22, 2008

People have asked about this.  This is the regular expression I use to allow emacs' next-error function to handle csc error messages.  It is included in the emacs.el that I published previou...

Regex.Match().Groups Gotcha

Vault of Thoughts, May 21, 2008

Another day, another gotcha. While workign with regular expressions I was matching some input string to a pattern with one group capture (is it the correct name?). I mage a regex.Match() thing, got ...

Pattern Title

RegexLib.com - Recent Patterns, May 19, 2008

This regex enable the user to enter all valid email addresses apart from when the user input 'co.uk' immediately after the '@' without stating a domain before it (e.g. 'freeserve.co.uk')...

html <td>

RegexLib.com - Recent Patterns, May 13, 2008

match *** in html,so any other html mark with is just do a little change to this...

Fast KeyWord String searching Algorithms

EggHeadCafe.com New Articles, May 12, 2008

This is a question that apparently comes up frequently: What is the fastest way to search a string of text for a bunch of keywords (e.g., a "badwords" list for cleaning or disallowing forum spam, et...

Longitude regex

RegexLib.com - Recent Patterns, May 12, 2008

first regex put on site. longitude must>=-180 & <180....

Expression Studio 2 Ready For Download

JohnPapa.net, May 3, 2008

 Expression Studio 2 is out of beta and has been released. I've been using the betas and they have been pretty good, but its nice to finally get my hands on the full release as v2 is much bet...

Expression Studio 2 Ready For Download

JohnPapa.net, May 3, 2008

 Expression Studio 2 is out of beta and has been released. I've been using the betas and they have been pretty good, but its nice to finally get my hands on the full release as v2 is much bet...

Expression Studio 2 Ready For Download

JohnPapa.net, May 3, 2008

 Expression Studio 2 is out of beta and has been released. I've been using the betas and they have been pretty good, but its nice to finally get my hands on the full release as v2 is much bet...

Expression Studio 2 Ready For Download

JohnPapa.net, May 3, 2008

 Expression Studio 2 is out of beta and has been released. I've been using the betas and they have been pretty good, but its nice to finally get my hands on the full release as v2 is much bet...

SlickEdit Tools for Visual Studio

Misfit Geek, April 9, 2008

$49 I'm a tools junkie! Anything that helps be work more efficiently is HUGE for me since every 10 minutes I can "save" in a day is 10 minutes with my Children, talking to my Wife, ...

Validates the most of the email formats

RegexLib.com - Recent Patterns, April 3, 2008

This expression will validates most of the email formats....

Pattern Title

RegexLib.com - Recent Patterns, April 2, 2008

The reqular expression matches those are starts with single character after that any character...

A video article site initiative by dotnetvideos

Mehfuzs WebLog, March 12, 2008

Few months back Ravi stated a video site http://www.dotnetvideos.net/  at his own initiative. I did registered and today I got a mail from http://www.aspnetpro.com/ that I have got a free 6 month...

Dave Laribee Video Coverage of Mix08

Brendan Tompkins, March 6, 2008

Just a quick administrative note, as this information is timely and not to be missed. Dave Laribee is our man at Mix08 and is doing some great Qik.com videos with the CodeBetter Video Phone (Nokia N8...

Dave Laribee Video Coverage of Mix08

Brendan Tompkins, March 6, 2008

Just a quick administrative note, as this information is timely and not to be missed. Dave Laribee is our man at Mix08 and is doing some great Qik.com videos with the CodeBetter Video Phone (Nokia N8...

Dave Laribee Video Coverage of Mix08

Brendan Tompkins, March 6, 2008

Just a quick administrative note, as this information is timely and not to be missed. Dave Laribee is our man at Mix08 and is doing some great Qik.com videos with the CodeBetter Video Phone (Nokia N8...

Dave Laribee Video Coverage of Mix08

Brendan Tompkins, March 6, 2008

Just a quick administrative note, as this information is timely and not to be missed. Dave Laribee is our man at Mix08 and is doing some great Qik.com videos with the CodeBetter Video Phone (Nokia N8...

Why I Love F#: Lists - The Basics

Did it with .NET, March 3, 2008

Help! I've painted myself into a corner. While writing articles for this series, I try very hard to introduce only a little F# syntax at a time. It is a personal goal of mine not to use syntax that ...

My Military Service After a Year

Keyvan Nayyeri, February 21, 2008

Almost one year ago I got off to begin a 20 months required military service. Some regular visitors can remember that first I passed a two months military training in a camp far from home and then mo...

Working with Lambda Expressions

ASPAlliance.com - The #1 ASP.NET Community, February 21, 2008

In this article, Brian discusses the usage and application of lambda expressions in .NET applications. After providing a short introduction, he examines the concepts with the help of source code and r...

Silverlight Skinnable User Interfaces

Simple Talk, February 5, 2008

John Bower demonstrates more of the features of Silverlight, and Expression Blend, and illustrates their use by showing how one might write an application that avoids UI pitfalls by placing your desig...

Performance Quiz #13 -- Linq to SQL compiled query cost -- solution

Rico Marianis Performance Tidbits, January 14, 2008

Well is there really a "solution" at all in general?  This particular case I think I constrained enough that you can claim an answer but does it generalize?  Let's look at what I got first...

Retrieve all tags

RegexLib.com - Recent Patterns, December 28, 2007

Retrieve all HTML tags and its content * in addition to Kevin Spencer http://www.regexlib.com/REDetails.aspx?regexp_id=1796...

Ini File Regex

RegexLib.com - Recent Patterns, December 8, 2007

Once , use first regex to find groups. and then use the second regex. first results to second regex source....

Do we need another Social website?

Al Pascual, November 2, 2007

Now Google is planning to market their social website, I haven't finish updating my profile and answering everybody within LinkedIn. I forgot that I also need in regular basis to login into Facebo...

Disappointing Blackberry

Ken.Robertson.Blog, October 28, 2007

I must say that this morning, I was rather disappointed in Blackberry that they still haven't straightened out the whole daylight savings system.  I mean come on, you would have thought that ...

Capitalized First Name or Last Name or Full Name

RegexLib.com - Recent Patterns, October 26, 2007

That is just an improved expression for handling capitalized names. Improvement #1 - Allowed using names consisting of 3 parts. Improvement #2 - Introduced restriction that the name must start from ca...

A $15 Billion Bubble? You Decide...

Peter Brombergs UnBlog, October 24, 2007

With Microsoft (MSFT) buying a very minority share that values Facebook at $15 billion, it looks like ""bubble or bust"". A lot depends on whether you believe Facebook is just the latest online fa...

How to start a blog and stay blogging. A new support group, mentoring program?

Al Pascual, October 19, 2007

So who wants to become a blogging Mentor? Many people started a blog and after a few months they give up and moved to new things, their blogs stays there without being updated for years, sometimes th...

Strong Password

RegexLib.com - Recent Patterns, September 24, 2007

This regular expression can be used for validating a strong password. It expects at least 1 lowercase letter, 1 uppercase letter, and 1 digit. It will also allow for some special characters. The lengt...

Expression Tree Visualizer

Granville Barnett, September 15, 2007

I played with this a while back but never blogged about it and thought that maybe I should do now as its a pretty nifty tool. First and foremost, if you have not looked at C# 3.0 or LINQ then here are...

Remove all attributes related to event handling from inside HTML tags

RegexLib.com - Recent Patterns, September 13, 2007

No idea whether anyone would ever need this, but I had to work half a day on this pattern, so I decided to share it. :) It was never meant for productive use at all; it was rather to filter out all th...

The specified string is not in the form required for a subject

Peter Brombergs UnBlog, September 7, 2007

At one of my ""Playground"" sites, BlogMetaFinder.com, I get an approval email every time somebody submits a blog or website to the directory. ( If you have any kind of  blog or website relat...

Expression Encoder now available for trial and purchase

Nigel Parkers Outside Line, September 5, 2007

The Expression Encoder was released this morning and is available for trial and purchase here. Since the previous beta Live Production has been added... also I have been testing the Silverlight S...

Password Validation

RegexLib.com - Recent Patterns, September 4, 2007

Well, I don't remember where from I got this expression, but I modified it a bit to work with asp.net 2.0's Regular expression validator. This validates if the password has atleast 6 characters, of wh...

Find IP Address Block Range

RegexLib.com - Recent Patterns, September 3, 2007

This expression matches IP Addresses between 192.168.0.17 - 192.168.0.32 which is a block range of 16 addresses. I created this expression for Google Analytics to filter out hits from our companies of...

Extract Literal Text from HTML

RegexLib.com - Recent Patterns, September 3, 2007

This regular expression allows you to extract literal text from an HTML (SGML compliant?) document. i believe it will also work for XML. using code to replace the HTML element you can extract the lite...

Split camelCase word

RegexLib.com - Recent Patterns, August 30, 2007

Used with the Regex.Split() function in .NET, this will easily split a camelCase word on the upper case letters, while not dropping any characters. (That makes it different from most split() function...

Product Spotlight