.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

.Net Regex Resources Reference

Posted By:      Posted Date: August 28, 2010    Points: 0   Category :.NET Framework
For those starting out with Regex'es or even those who are old hands here are some resources to help. .NET Framework Developer's Guide .NET Framework Regular Expressions Regular Expression Language Elements Character Classes such as. \d \s [ ] defined. Quantifiers such as+ * ? { } Options such asMultiline Compiled SingleLine Expression Classes such as Regex Match MatchCollection GroupCollection Regular Expression Examples Tutorials 30 Minute Regex Tutorial on CodeProject. .Net Coders Regex Overview breaks down groups and matches in one of the best overviews of the topics. Introduction to Regular Expressions on CodeProject. Understanding Basic Regular Expression Syntax (Section 3.10.) in the CodeProject's book chapter previewMicrosoft Visual C# .NET 2003 Developer's Cookbook . Its a preview of Chapter 3: Strings and Regular Expressions. Eric Gunnerson's Regex 101 . A listing of differing match topics. Great for a beginner to look at after acquiring the basics of Regex, many examples. How to: Search Strings Using Regular Expressions (C# Programming Guide) in MSDN Library. Topics General Regular Expressions and the If Conditional on OmegaCoder's blog. Want faster regular expressions? Maybe you should think about that IgnoreCase option... (Compilation) For an overview of the three different modes,interpreted, on-the-fly comp

View Complete Post

More Related Resource Links

A better way to reference your wizard steps using named steps

Note: this article uses the plain vanilla but the concepts apply equally well to its popular counterpart .

By far the most common way that I see wizard steps reference in code snippets is by their index.

How to detect and avoid memory and resources leaks in .NET application

Despite what a lot of people believe, it's easy to introduce memory and resources leaks in .NET applications. The Garbage Collector, or GC for close friends, is not a magician who would completely relieve you from taking care of your memory and resources consumption.

I'll explain in this article why memory leaks exist in .NET and how to avoid them. Don't worry, I won't focus here on the inner workings of the garbage collector and other advanced characteristics of memory and resources management in .NET.

SharePoint 2010 - Top 10 Resources to get you started

This post contains links to download evaluation software, guides, demo virtual machines and lots more, for both Developers and IT Professionals.SharePoint 2010 - Top 10 Resources to get you started

Resources for soup-to-nuts of website development lifecycle



 I'm looking for a website, or book, or some resource that can lead me down the path from website design to implementation/deployment. I know that covers a ton of material, but I am really looking for the bullet points, or high-lights, to make sure that I think of everything. I am mostly fuzzy on security measures and deployment since I haven't been involved in those aspects before.

Background:  I have been a programmer for many years, and with a little over 3 years' experience coding websites in vb.net/asp.net with sql server. Due to recent restructuring/layoffs at our firm, I find myself in the position of lead IT person - I'm feeling a bit underqualified but I feel this is my chance to work hard and step up to it. I'm very good at vb.net, master pages, css, asp.net, sql server. I'm worried that the person who was the lead before was doing a bunch of stuff that I'm not aware of...so I need to start learning more than just the code. I don't need lessons on how to code anything...I need to learn how it all gets put together - the next step up.

thanks for any suggestions!

reference from menubuttons to text parts in article on the same page


Hi, I'm searching now for hours but couldn't find it.Cry

In my menu i have several buttons which (by a <a href..) should go the a part of an article that is in the same form.

Menu button : What is a database should go to the page default.aspx and in there is an article published.
A part of this article is having a piece of text about "what is a database"

Menu button: how to make a query should go to this same article in the same page but then to the part that is have the piece about the query. The next could be an example of what i'm doing:

    <li><a href="default.aspx ?????>what is a database</a></li>
    <li><a href="default.aspx ?????>what is a query</a></li>

Where my question marks are, there should be a connection to that particular piece of text.
In each article part there is an ID="text1" and the second part id="text2"

How shoudl i do that, Should i use a question mark.
Please give me some guidance how to structure the <li> statement or a pointer where I can read about it.


Reference HttpApplication from a separate HttpApplication


I want to create a website that can monitor the status of other websites running on the same server. Is this possible? How do I get a reference to a site's HttpApplication context from a separate HttpApplication?

Registering controls of current assembly object reference NOT set error


Hi There,

I have created a simple ASP.net Web Application (2.0) and have added a web user control.

Now in my page I have added this control but I have registered like this,

<%@ Register Assembly="WebApplication1" Namespace="WebApplication1" TagPrefix="Custom" %>

Which means I want to access all the controls in my current Web Application project

Then I have added my user control like this,

<Custom:MyUserControl ID="MyUserControl1" runat="server" PublicProperty="Hello" />

Every thing is fine but when I execute the project, NO control on my user control gets "instantiated" and thus I receive error "Object Reference Not Set"

Note that My Control has,

1) Public property PublicProperty as String

2) 1 Label control

In Load Event Handler I am setting Text property of Label Control to PublicProperty. Here object reference NOT set error occurs (which means Label control is NOT initialized).

I don't want to register my control using Src, TagPrefix etc. Any ideas?


Regex pattern for validating IPv6


Can anyone can make a regular expression pattern for validating IPv6 (not IPv4)?

Ipv6 has many formats and aliases. I tried making the pattern but written in a lot of codes (i'm not sure my code below will be 100% accepting valid formats and 100% declines invalid formats).


Basic Instincts: Resources and Localization in ASP.NET 2.0


In this installment of Advanced Basics Ted Pattison discusses the localization of Web sites in ASP.NET 2.0.

Ted Pattison

MSDN Magazine August 2006

Basic Instincts: Resources and Localization


There are two ways you can utilize resources such as strings, images, and text-based files from your Microsoft® . NET Framework-based application. You can embed them directly in the app or you can load them from an external file.

Ted Pattison

MSDN Magazine May 2006

New Stuff: Resources for Your Developer Toolbox


Databeacon Smart Client software allows users to perform data analysis, turning relational data from any data source into online analytical processing (OLAP) cubes that can be explored and manipulated using one of three Databeacon viewers.

Marnie Hutcheson

MSDN Magazine December 2005

New Stuff: Resources for Your Developer Toolbox


Code refactoring is defined as the act of changing code without changing what it does. The actual work involved in refactoring-extracting methods from oversized modules, tidying up and unifying variable names, identifying unhandled exceptions, and all the other cleanup, simplification, and standardization chores-can be daunting, indeed, and risky too.

Marnie Hutcheson

MSDN Magazine November 2005

New Stuff: Resources for Your Developer Toolbox


ActiveReports for . NET 2. 0 by Data Dynamics is written in C# and integrates with the Visual Studio® . NET development environment to let you create dynamic reports and charts. Drop the Report Viewer control on your Windows® Form or Web Form, specify the data source and authentication information for the data connection wizard, and it builds the connection string for you.

Marnie Hutcheson

MSDN Magazine October 2005

New Stuff: Resources for Your Developer Toolbox


From my first look at VG. net V2. 4b by Prodige Software Corporation, it seemed like just another typical graphics add-on, but as I discovered what a potent tool it is for Visual Studio® . NET graphical interface development, I became more and more impressed.

Marnie Hutcheson

MSDN Magazine September 2005

New Stuff: Resources for Your Developer Toolbox


Tired of spending oodles of time trying to reproduce bugs so you can then fix them? RadViewSoftware Inc. has a new addition to their Web application function and load testing tools that captures everything that goes on at the client and the server in synchronized logs.

Marnie Hutcheson

MSDN Magazine August 2005

New Stuff: Resources for Your Developer Toolbox


r.a.d.controls by telerik gives you an impressive set of great looking interface components, Visual Studio® .NET design-time support, cross-browser compatibility, keyboard support, and data binding.

Marnie Hutcheson

MSDN Magazine July 2005

New Stuff: Resources for Your Developer Toolbox


A few months ago I had a large SQL ServerT asset management database into which I had to import data from text files in daily batches. I needed to tweak the tables, add some queries, and generate new reports.

Marnie Hutcheson

MSDN Magazine June 2005

ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend