Search - Articles - Dev Forums - Favorites - Member Login  
DevASP.NET for ASP.NET, VB.NET, XML and C# (C-Sharp) Developers Tuesday, March 16, 2010

Dev Articles
Search Directory
ASP.NET
VB.Net
C-Sharp
SQL Server
 

Life runs on code. Find out how Visual Studio 2010 can help you realize your vision. Learn more...

Home > Search > Articles & Samples > ASP.Net > Regular Expressions
Search:
What's New - What's Hot


War is over now (Microsoft Expression)        
Total Hits: 114  |  Today: 0 Author: Ahmed Ramy       Rating:  
Read Reviews | Write Review |   Your Rating: 

When I first saw Microsoft Expression Web Designer Beta, I went through a flash back more than 6 years from now, when I was a junior web developer I had to work tightly with web designers, giving them our asp pages so they can dress it with their fancy designs, most of the time what we got is broken pages and inconsistent html code since i was new to web development my mind was screaming WHY! WHY! WHY!, Why they do this to our work? the answers was obvious they are designers the way they look to...

Regular Expressions which are needed in daily coding...        
Total Hits: 248  |  Today: 0 Author: JustChiragPatel.       Rating:  
Read Reviews | Write Review |   Your Rating: 

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

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....

Simplifed use of Regular Expressions from within your Scripts        
Total Hits: 189  |  Today: 0 Author: Uwe Keim.       Rating:  
Read Reviews | Write Review |   Your Rating: 

Knowing the Regular Expression-capabilities and -syntax of Perl, I wanted to have a similar syntax from within my VBScript code. VBScript uses the RegExp object, so I wrapped the calls to the RegExp object inside three function....

Introduction to Regular Expressions        
Total Hits: 249  |  Today: 0 Author: Microsoft       Rating:  
Read Reviews | Write Review |   Your Rating: 

These thirteen sections introduce the concept of regular expressions and explain how to create and use them in JScript. While each topic stands on its own, it is recommended that you peruse these topics sequentially to develop the best understanding of the material. Many topics rely upon the understanding of a feature or concept that was introduced in a previous topic in the sequence....

Regular Expressions in .NET        
Total Hits: 1863  |  Today: 0       Rating:  
Read Reviews | Write Review |   Your Rating: 

The purpose of this article is to build upon the existing pool of regular expression articles by providing an overview of the new regular expression features found in .NET and to offer some guidelines as to when and how to use them. The reader of this article should be familiar with what regular expressions are and their base features....

Regular Expression Library -- from ASPSmith.com Training        
Total Hits: 2371  |  Today: 0       Rating:  
Read Reviews | Write Review |   Your Rating: 

The Regular Expression Library that was part of ASPSmith.com now has a new and permanent home at RegXLib.com. As before, you can add, test, search for, and rate regular expressions, which can be a great learning tool and resource, especially if you are using the ASP.NET RegularExpressionValidator control. By the time .NET is released, there should be a plug-in available for VS.NET that will allow you to search for regular expressions from the site, as well....

Formatting with Regular Expressions        
Total Hits: 171  |  Today: 0 Author: Scott Mitchell       Rating:  
Read Reviews | Write Review |   Your Rating: 

If you're familiar with regular expressions, you know that they can be used for pattern matching and replacement in strings. (If you are not familiar with regular expressions, you're missing out on a powerful technology that has a myriad of applications. Read An Introduction to Regular Expressions to learn more!) Regular expressions true power lies in its ability to search for certain patterns and replace these patterns. For example, say that you have the contents of an HTML page in a string, an...

Removing HTML Tags and Setting Text Length Using Regular Expressions        
Total Hits: 181  |  Today: 0 Author: Oliver Degnan       Rating:  
Read Reviews | Write Review |   Your Rating: 

When offering administrative capabilities through a backend system which enables the user to update their own Web page content, it comes in handy to have a little String Function as demonstrated below...

Stripping HTML Tags using Regular Expressions        
Total Hits: 247  |  Today: 0 Author: Scott Mitchell       Rating:  
Read Reviews | Write Review |   Your Rating: 

Have you ever wanted to strip all of the HTML tags from a string? There are many reasons you may want to do this. For example, if you provide a feature on your site where a user can have the contents of a Web page emailed to them, you may wish to strip all of the HTML tags from the particular article for those users whose email client does not support HTML-formatted email.

A previous article on 4Guys by Abd Shomad, Stripping HTML Tags, provided a function that accomplished this task. Howe...

Common Applications of Regular Expressions        
Total Hits: 193  |  Today: 0 Author: Richard Lowe       Rating:  
Read Reviews | Write Review |   Your Rating: 

Regular Expressions (for those not yet acquainted with them) provide a way of matching patterns of strings that may be simple or extremely complicated and they do it in a very efficient manner. For an introduction to regular expressions in ASP be sure to read: An Introduction to Regular Expressions in VBScript. (There are also a number of other great beginner-level articles available at the 4Guys Regular Expression Article Index... be sure that you have a fairly good understanding of regular exp...

Automatically hyperlink URLs in ASP.NET Pages        
Total Hits: 358  |  Today: 0 Author: Nayan Patel       Rating:  
Read Reviews | Write Review |   Your Rating: 

you display user information such as the email address or the personal Web site. By using regular expressions, you can automatically detect hyperlink-sensitive text and automatically wrap them into element pointing to the same URL. Let's see how to proceed....

Automatically Hyperlink URLs and E-Mail Addresses in ASP.NET Pages with C#        
Total Hits: 477  |  Today: 0 Author: zjroland       Rating:  
Read Reviews | Write Review |   Your Rating: 

This article introduces how to hyperlink URLs and e-mail addresses in ASP.NET pages with C#, When you design a forum or other Web site, the code is very useful. I found that many users post URL and e-mail information, but these URLs and e-mails just display as text. If you want to visit these URLs or e-mail addressess, you have to copy them and then paste them to your browser or e-mail client. I searched articles about automatically hyperlinking URLs, but only found VB source code. So, I decided...

Validating Form Input using Regular Expressions        
Total Hits: 683  |  Today: 0 Author: aspzone       Rating:  
Read Reviews | Write Review |   Your Rating: 

Writing form validation code is often the most thankless part of your job. The logic can get quite complex, and often quite messy. This article will show you how to use Regular Expressions to simplify your code....

Regular Expression        
Total Hits: 620  |  Today: 0 Author: devhood       Rating:  
Read Reviews | Write Review |   Your Rating: 

Regular exPssions are often used to make sure that a string
matches a certain pattern. For example, that a string looks like a zip code, or phone number, or e-mail address....

Regular Expressions Quickstart        
Total Hits: 371  |  Today: 0 Author: Chris Garrett       Rating:  
Read Reviews | Write Review |   Your Rating: 

One of the main uses for regular expressions is validation, for example matching a certain pattern of characters and symbols, such as zip/postal code, telephone number, email address. Searching and replacing can be made a far more reliable process with regular expressions, being able to differentiate between matches within a word and word boundaries, such as treating "Cat" in a different way to the string "Concatenate". Finally screen-scraping is made easier by extracting only the desired inform...

Regular Expressions and the MatchCollection        
Total Hits: 805  |  Today: 0       Rating:  
Read Reviews | Write Review |   Your Rating: 

When searching a string or data for a regular expression you can use the MatchCollection class and the Regex class from the System.Text.RegularExpressions namespace to easily identify and iterate through data in your application for various tasks....

Microsoft Beefs Up VBScript with Regular Expressions        
Total Hits: 887  |  Today: 0       Rating:  
Read Reviews | Write Review |   Your Rating: 

So what are regular expressions? Regular expressions provide tools for developing complex pattern matching and textual search-and-replace algorithms. Ask any Perl, egrep, awk or sed developer, and they'll tell you that regular expressions are one of the most powerful utilities available for manipulating text and data. By creating patterns to match specific strings, a developer has total control over searching, extracting, or replacing data. In short, to master regular expressions is to master yo...

Regular Expressions Make Pattern Matching And Data Extraction Easier        
Total Hits: 103  |  Today: 0 Author: David Banister       Rating:  
Read Reviews | Write Review |   Your Rating: 

Although T-SQL is extremely powerful for most data processing, it provides little support for text analysis or manipulation. Attempting to perform any sophisticated text analysis using the built-in string functions results in massively large functions and stored procedures that are difficult to debug and maintain. Is there a better way?

In fact, regular expressions provide a much more efficient and elegant solution. It is easy to see how they would be helpful for comparing text to identif...

Utilizing Regular Expression SubMatches        
Total Hits: 159  |  Today: 0 Author: Scott Mitchell       Rating:  
Read Reviews | Write Review |   Your Rating: 

With version 5.0 of the VBScript Scripting Engine, Microsoft (finally) added regular expression support for VBScript in the form of a COM object. (JScript has enjoyed intrinsic regular expression support for quite a bit longer.) While version 5.0 implemented regular expression support, it only implemented some of the more basic regular expression features. Fortunately, with the 5.5 version of the scripting engines, Microsoft beefed up their regular expression object's capabilities, allowing for ...

User Tips: Converting URLs into Hyperlinks        
Total Hits: 144  |  Today: 0 Author: Wallace       Rating:  
Read Reviews | Write Review |   Your Rating: 

I just finished reading Designing Active Server Pages and was inspired by the regular expressions section. I would like to contribute some code... two functions which are fresh out of the oven!
These functions are to cater for web content stored in a database where URLs & email address are part of the content. The function uses Regular Expression to search and replace URLs and Email address and turn them into viable hyperlinks......


1  2  3  Next >> 


DevASP.Net - Disclaimer - Privacy
© 2002-2010 DevASP.net