Click here to Skip to main content
Licence GPL3
First Posted 21 Mar 2007
Views 37,184
Bookmarked 19 times

Regular Expressions which are needed in daily coding...

By | 21 Mar 2007 | Article
Regular Expressions for all purpose..

Introduction

Guys , we all know that regular expressions are very useful for checking any kind of patterns.

Background

So we have to know how to write regular expressions for our patterns. But don't worry here i will provide some but very useful regular expressions which will be useful for our coding.

Using the code

just copy and paste Regular Expression from here to your code.
//
// this are the regular expressions for all purposes...
//For checking opening and closing tab of specific HTML tags..
<tt class="regex"><TAG\b[^>]*>(.*?)</TAG></tt>
//for any HTML tags starting and ending..
<tt class="regex"><([A-Z][A-Z0-9]*)\b[^>]*>

Points of Interest

I like to Share my knowledge with you, because i am also one of you, taht if i don't know anything then i come to you...so keep excahnge of knowledge...

History

License

This article, along with any associated source code and files, is licensed under The GNU General Public License (GPLv3)

About the Author

JustChiragPatel

Software Developer

India India

Member

Chirag Patel, a Programmer Analyst in a well known IT company working on .NET Technologies since last 2 years. He is interested in Pure business logic and fuzzy logic. his area of interest is in C#.NET, VB.NET and MSSQL 2005.
 
catch me on: http://groups.google.com/group/codewar

Sign Up to vote   Poor Excellent
Add a reason or comment to your vote: x
Votes of 3 or less require a comment

Comments and Discussions

 
You must Sign In to use this message board. (secure sign-in)
 
Search this forum  
 FAQ
    Noise  Layout  Per page   
  Refresh
NewsThere's a new version of the RegEx Tester Tool ! PinmemberBucanerO_Slacker23:21 1 Mar '08  
GeneralFormatting issue PinmemberPete O'Hanlon23:32 22 Mar '07  
GeneralDon't be discouraged PinmemberBradml22:46 22 Mar '07  
QuestionWhat on earth? Pinmembernorm .net21:57 21 Mar '07  
AnswerRe: What on earth? Pinmemberpurplepangolin4:44 22 Mar '07  
GeneralRe: What on earth? Pinmembernorm .net4:50 22 Mar '07  
GeneralRe: What on earth? Pinmemberpurplepangolin5:04 22 Mar '07  
GeneralRe: What on earth? Pinmembernorm .net5:48 22 Mar '07  
GeneralRe: What on earth? Pinmemberpurplepangolin6:17 22 Mar '07  
I'm not trying to justify this as an article, I just prefer to see constructive criticism rather than abuse. Maybe I'm being naive but I imagined that the point of flagging things as unedited reader contributions was that people could respond to such criticisms and either revise or withdraw their contributions accordingly.
GeneralRe: What on earth? PinmemberJustChiragPatel17:31 22 Mar '07  
GeneralRe: What on earth? Pinmembernorm .net21:42 22 Mar '07  
GeneralRe: What on earth? Pinmembernorm .net21:41 22 Mar '07  
AnswerRe: What on earth? Pinmemberednrgc5:20 22 Mar '07  
GeneralRe: What on earth? Pinmembernorm .net5:49 22 Mar '07  
AnswerRe: What on earth? PinmemberJustChiragPatel17:30 22 Mar '07  
GeneralRe: What on earth? Pinmembernorm .net21:40 22 Mar '07  
GeneralRe: What on earth? PinmvpJohn Simmons / outlaw programmer0:25 23 Mar '07  
GeneralRe: What on earth? Pinmembernorm .net1:19 23 Mar '07  
GeneralRe: What on earth? PinmvpJohn Simmons / outlaw programmer23:35 23 Mar '07  

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Permalink | Advertise | Privacy | Mobile
Web02 | 2.5.120529.1 | Last Updated 22 Mar 2007
Article Copyright 2007 by JustChiragPatel
Everything else Copyright © CodeProject, 1999-2012
Terms of Use
Layout: fixed | fluid