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
 


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


Search:
What's New - What's Hot
Search and Replace with Regular Expressions     
Total Hits: 387  |  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....

Evaluate Arithmetic Expressions using Polish Notations in VB.NET  Version: 0.00     Price: $0.00  
Total Hits: 24  |  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....

File Handling Methods in VB.NET  Version: 0.00     Price: $0.00  
Total Hits: 15  |  Today: 0Author: Abhisek      Rating:  
Read Reviews | Write Review |  Your Rating: 

This method deletes the said file/files from the disk. The name of the file to be deleted is passed to this method as string type arguments. Files are simply deleted and not moved to recycle-bin. The use of wild card(* and /) is permitted in this function....

Expression Evaluator - Basic Level  Version: 0.00     Price: $0.00  
Total Hits: 22  |  Today: 0Author: pranav95      Rating:  
Read Reviews | Write Review |  Your Rating: 

This is an article on how to build a basic expression evaluator. It can evaluate any numerical expression combined with trigonometric functions for now. Constants like e and pi are also supported....

Regular Expression Classes  Version: 0.00     Price: $0.00  
Total Hits: 28  |  Today: 0Author: Microsoft Corporation      Rating:  
Read Reviews | Write Review |  Your Rating: 

The Regex class represents an immutable (read-only) regular expression. It also contains static methods that allow use of other regular expression classes without explicitly creating instances of the other classes. The following code example creates an instance of the Regex class and defines a simple regular expression when the object is initialized. Note the use of an additional backslash as an escape character that designates the backslash in the \s matching character class as a literal charac...

Math Expression Evaluator     
Total Hits: 132  |  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....

Flee - Fast Lightweight Expression Evaluator     
Total Hits: 130  |  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...

CodeSnip: Using the IsMatch method in Regular Expressions to screen scrape a webpage     
Total Hits: 241  |  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....

Introduction to Regular Expression in .NET     
Total Hits: 205  |  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...

Display RecordSet Contents     
Total Hits: 190  |  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: 593  |  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: 672  |  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: 703  |  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: 646  |  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....

Lambda Expressions and Currying in VB9  Version: 0.00     Price: $0.00  
Total Hits: 28  |  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...

Using Literal XML with Embedded Expressions in VB9  Version: 0.00     Price: $0.00  
Total Hits: 13  |  Today: 0Author: Paul Kimmel      Rating:  
Read Reviews | Write Review |  Your Rating: 

I spent the week of April 13th in Redmond at the MVP Summit. If you don't know, MVP stands for Most Valuable Professional. One usually becomes and MVP by nomination and then having acquired some unknown amount of community kudos. For instance, lots of blogging and voluntarily helping people in newsgroups might get you there eventually. So, the MVP Summit is a way for Microsoft to thank MVPs for their free contributions, continue to foster affinity with these non-Microsoft employees, and provide ...

RegexRunner Class     
Total Hits: 21  |  Today: 0Author: Microsoft Corporation      Rating:  
Read Reviews | Write Review |  Your Rating: 

This class supports the .NET Framework infrastructure and is not intended to be used directly from your code....

Validating Data Using Regular Expression / XML     
Total Hits: 140  |  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: 107  |  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: 81  |  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....


1  2  Next >> 


Disclaimer - Privacy
© 2002-2017 DevASP.net