Search - Articles
DevASP.NET for ASP.NET, VB.NET, XML and C# (C-Sharp) Developers Tuesday, March 03, 2009
Dev Articles
Search Directory
ASP.NET
VB.Net
C-Sharp
SQL Server
 

FREE 12 month online training for ASP.NET & MS Expression Studio and a Free copy of MS Expression Web with Windows Server Purchase

Home >Search > Articles & Samples > Visual Basic.Net > Regular Expression


Search:
What's New - What's Hot
Search and Replace with Regular Expressions     
Total Hits: 348  |  Today: 0Author: Paul Kimmel      Rating:  
Read Reviews | Write Review |  Your Rating: 

Neither male or female parents are superfluous. Parents teach children things implicitly by their habits and sometimes explicitly when the kids are listening. Sometimes, a parent has a bad habit; the child sees the consequences and says "I don't want that bad thing to happen to me!" Sometimes, the reverse is true. Both kinds of lessons are valuable and different genders seem to have different habits....

CodeSnip: Using the IsMatch method in Regular Expressions to screen scrape a webpage     
Total Hits: 223  |  Today: 0Author: Web Team at ORCS Web      Rating:  
Read Reviews | Write Review |  Your Rating: 

In this article, Steve demonstrates the usage of IsMatch method in Regular Expressions to screen scrape a webpage....

Evaluate Arithmetic Expressions using Polish Notations in VB.NET  Version: 0.00     Price: $0.00  
Total Hits: 7  |  Today: 0Author: suresh suthar      Rating:  
Read Reviews | Write Review |  Your Rating: 

This sample application illustrates how to solve arithmetic expressions using Polish notation (logic for solving arithmetic expressions).

In this source code, I have used a stack and queue and some of their important methods like pop, push etc....

Lambda Expressions and Currying in VB9  Version: 0.00     Price: $0.00  
Total Hits: 13  |  Today: 0Author: Paul Kimmel      Rating:  
Read Reviews | Write Review |  Your Rating: 

I am a linguaphile. That is, I love cool language features such as operator overloading, generics, Lambda Expressions, ternary operators, and anything and almost everything about OOPy languages. For that reason, C++ has probably always been my favorite language, but I seldom write C++ anymore. One reason is that I am seldom asked, but another reason is that many more companies have been using Delphi, VB, Java, and C#. Perhaps this is so due to the unforgiving nature of C++ or the perceived produ...

Math Expression Evaluator     
Total Hits: 117  |  Today: 0Author: lucatabanelli      Rating:  
Read Reviews | Write Review |  Your Rating: 

This is another math. expression evaluator by which you can let the user type an expression in text format with up to three variables (x,y,z) and calculate the result according with the variables values....

Display RecordSet Contents     
Total Hits: 172  |  Today: 0Author: Steven Smith      Rating:  
Read Reviews | Write Review |  Your Rating: 

Frequently when debugging you'll simply want to view the contents of a recordset on an ASP page. For these special moments, I've written a simple function that does this for me and allows me to quickly set a few common parameters. I've even gone so far as to add the function to a COM object to make it more accessible than an include file. Here is the code in either case (ASP or VB6):...

Learn Regular Expression (Regex) syntax with C# and .NET     
Total Hits: 572  |  Today: 0Author: radsoftware.com      Rating:  
Read Reviews | Write Review |  Your Rating: 

Regular Expressions are a powerful pattern matching language that is part of many modern programming languages. Regular Expressions allow you to apply a pattern to an input string and return a list of the matches within the text. Regular expressions also allow text to be replaced using replacement patterns. It is a very powerful version of find and replace....

The expression evaluator revisited (Eval function in 100% managed .net)     
Total Hits: 639  |  Today: 0Author: Pascal Ganaye      Rating:  
Read Reviews | Write Review |  Your Rating: 

Most application needs to evaluate a formula at run-time. The dotnet framework unfortunately despite allowing advanced compilation support does offer a quick and light-weight eval function. This article introduce the a usable eval function. With some functionalities rarely available: Fast single pass parser Highly extensible, you can add your own variables and functions without having to change the library itself. Common priorities are supported : 2+3*5 returns 2+(3*5)=17.
boolean operation...

An Introduction to Regular Expressions and Their Use in .NET I     
Total Hits: 667  |  Today: 0Author: Chris Sully      Rating:  
Read Reviews | Write Review |  Your Rating: 

Regular expressions pop up in several locations in .NET and its supporting technologies. A prime example would be in the RegularExpression server validation control but the power of regular expressions are also utilised elsewhere, for example within XSD schemas with the pattern facet. This gives a good indication of what regular expressions are all about - pattern matching. In fact the .NET Framework regular expression classes are part of the base class library and can be used with any language ...

An Introduction to Regular Expressions and Their Use in .NET II     
Total Hits: 615  |  Today: 0Author: Chris Sully      Rating:  
Read Reviews | Write Review |  Your Rating: 

Regular expressions may look a little strange at first, but they are very powerful and you will probably need to use them at some point. In the first article in this series we introduced background information regarding regular expressions as well as starting to look at the support for regular expressions in .NET. In this article we'll look in more detail at this latter area. The examples presented are in VB.NET for Windows Forms. They can be easily modified for ASP.NET if preferred....

HOW TO: Match a Pattern Using Regular Expressions and Visual Basic .NET (Q301264 )     
Total Hits: 6517  |  Today: 0      Rating:  
Read Reviews | Write Review |  Your Rating: 

This article demonstrates how to create and use regular expressions to determine whether strings match certain patterns. Regular expressions allow for easy parsing and matching of strings to a specific pattern. Using the objects available in the RegularExpressions namespace, you can compare a string against a given pattern, replace a string pattern with another string, or retrieve only portions of a formatted string. In this example, we will construct a pattern to validate a e-mail address....

A Math Expression Evaluator  Version: 0.00     Price: $0.00  
Total Hits: 111  |  Today: 0Author: Michael Combs      Rating:  
Read Reviews | Write Review |  Your Rating: 

A mathematical expression evaluator can be a useful piece of code if you often write applications which rely on any kind of scripting. Graphics applications which create composite images from templates, form filling or spreadsheet software which performs configurable calculations based on user input, or data analysis applications that perform calculations on batch data from scripts are just a few that come to my mind....

Validating Data Using Regular Expression / XML     
Total Hits: 123  |  Today: 0Author: Vasant Raj      Rating:  
Read Reviews | Write Review |  Your Rating: 

Regular expressions are the best and the easiest way to do data validation. If you want to check for a valid date, then programming for it will be very complicated. A simple solution is to create a regular expression for what you need, and compare the input with the expression itself. Regular expressions are very powerful as they can reduce the size of the code and are also easy to understand....

Normal Casing of an Upper Case Paragraph Using .NET Regular Expressions     
Total Hits: 91  |  Today: 0Author: Steve Killick      Rating:  
Read Reviews | Write Review |  Your Rating: 

Many developers use data from legacy systems that generate strings that are all upper case. Sometimes you may need an efficient way to display those lengthy strings in correct case where the first letter of every sentence is capitalized and the rest is lower case....

Evaluate Arithmetic Expression using Polish Notation Login in VB.NET 2005     
Total Hits: 69  |  Today: 0Author: suresh suthar      Rating:  
Read Reviews | Write Review |  Your Rating: 

This sample application illustrates how to solve arithmetic expression using polish notation (logic for solving arithemetic expression).

In this source code I have used stack and queue and their some important methods like pop, push etc....

Regular Expressions and VBScript     
Total Hits: 87  |  Today: 0Author: Mikesdotnetting      Rating:  
Read Reviews | Write Review |  Your Rating: 

Regular Expressions provide a much more powerful and efficient way of manipulating strings of text than the use of a variety of standard string functions. They have a reputation of being cryptic and difficult to learn, but are actually quite easy to learn and use....

Flee - Fast Lightweight Expression Evaluator     
Total Hits: 106  |  Today: 0Author: Eugene Ciloci      Rating:  
Read Reviews | Write Review |  Your Rating: 

Flee is a .NET library that allows you to parse and evaluate arbitrary expressions. The main feature that distinguishes it from other expression evaluators is that it uses a custom compiler to convert expressions into IL and then, using lightweight codegen, emits the IL to a dynamic method at runtime. This means that expression evaluation is several orders of magnitude faster than when using interpretive expression evaluators. In fact, the entire design of the library and the expression language...

Introduction to Regular Expression in .NET     
Total Hits: 194  |  Today: 0Author: Handy Chang      Rating:  
Read Reviews | Write Review |  Your Rating: 

Regular Expressions are part of those small technology that are incredibly useful in a wide range of programs. Regular Expressions are commonly used for one specific purpose:to locate substrings within a large strings expressions. Regular Expressions is not a new technology and is originated from UNIX environment and made popular with Perl Programming language. Microsoft ported it onto Windows where up until now has been used mostly with scripting languages. Regular Expressions are today, howeve...

The ReDim Preserve Performance Trap     
Total Hits: 314  |  Today: 0Author: Christoph Wille      Rating:  
Read Reviews | Write Review |  Your Rating: 

Whoever works with arrays in VB will be familiar with the ReDim statement for resizing arrays. Today, I will explain in detail why you better shouldn't use this statement in the future, or at least very, very carefully consider its use.In VB.NET ReDim Preserve is something to be positively avoided. When dynamic arrays are needed, it is advisable to use an ArrayList as that basically behaves like a normal array....

Regular Expression Validator Web Service     
Total Hits: 287  |  Today: 0Author: Ricardo Martins      Rating:  
Read Reviews | Write Review |  Your Rating: 

This is a simple web service that can be used to validade a regular expression....


1  2  Next >> 


Disclaimer - Privacy
© 2002-2012 DevASP.net