Topaz Filer - Email filing software
System.Text.RegularExpressions.Regex Class
Information   Base Types   Related Resources

Represents an immutable regular expression.

  • Namespace: System.Text.RegularExpressions
  • Assembly: System.dll

  • System.Object
    System.Runtime.Serialization.ISerializable
  • View this type on MSDN
  • Search for this type on MSDN using MSDN's own search engine
  • Google for this type - all Web
  • Google for this type - MSDN only
    Articles (19)Discussions (596)MembersRotor
    Articles

    Page: 1
    A C# Web Spider written as a Web Service
    C#Today
    A Web Spider is a program that is used to navigate sites, follow links and collect various information. It is sometimes called a Web Robot. In this article. ST Tan & Aldy Karna discuss the subject, and show how a Web Spider can be written in C#.
    DotNetNuke 2 Module Packager
    The Code Project
    This article describes the DNN 2 Module Packager application and source code. The application enables the user to generate DotNetNuke private assemblies that are useable out of the box from a custom module defined in the programmers development environment.
    FIX: Web service clients regenerate serialization assemblies every time that the application runs
    http://www.kbalertz.com/
    (872800) - Describes a problem that occurs when the Web service client generates the serialization assembly every time that you run the application. Explains that this problem may affect performance.
    Formatting with Regular Expressions
    4Guys from Rolla
    If you're familiar with regular expressions, you know that they can be used for pattern matching and replacement in strings. 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, and you want to find any occurrence of a particular word and highlight it in the user's browser. This can be done, rather simply, with regular expressions.
    HTML Table Of Contents Generator
    The Code Project
    A C# program which takes a HTML file as input and outputs a new file with a table of contents embedded.
    Masked Edit Control written in C# that uses Regular Expressions
    C# Help
    We programmed a masked textbox control with C# that will convert the mask into a regular expression for each character in the field. It is designed to accept a user defined mask or a regular expression that defines each character in the field. If you pass it the mask as a string using the characters listed below, it will build the regular expression for you. It then loads the regular expression into an array which is used to validate and control the behavior of the field. There is an error provider message and a tooltip associated with the control.
    Regular Expressions in C#
    C# Help
    Standard I/O: Console Appplications in .NET, or Teaching a New Dog Old Tricks
    MSDN
    When you write console apps that take advantage of pipelines, you get the combined power of lots of small, simple apps. While each application in the pipe is fairly simple, the result of their interaction can be a relatively complex task.
    Static-Site Search Engine with ASP.NET/C#
    The Code Project
    Simple, free, easy to install Search page in C#
    The best regular expression on the Internet
    STANDARDIO.ORG
    Recently I decided I wanted to build an Internet spider. There was no client paying for it, no boss asking for it. It’s just something I’ve always wanted to do. Thanks to the .NET Framework objects System.Net.HttpWebRequest and System.Net.HttpWebResponse, this is relatively easy. The hardest part I ran into while writing the code was scanning for HREF’s on a page. I thought this might be the easiest part when I started, but in terms of lines of code per hour, this was by far the most difficult portion of my spider. In this scenario a regular expression is needed to scan the HTML the spider has downloaded for more HREF’s so it can continue crawling the web.
    The Essence Pattern in C#
    The Code Project
    An implementation of the Essence Pattern in C#
    Turn Your Log Files into Searchable Data Using Regex and the XML Classes
    MSDN
    Discover how to use the built-in regular expression functionality in the .NET Framework to convert delimited log files into XML for later processing.
    URL Rewriting in ASP.NET
    MSDN
    Scott Mitchell shows how you can dynamically intercept an incoming Web request and automatically redirect it to a different URL.
    Useful Hints/Tips for TextBox
    The Code Project
    This article is about validation ion TextBox control. It will also show how you can use ErrorProvider and ToolTip when you enter false values in a TextBox.
    Using CLR Integration in SQL Server 2005
    MSDN
    Compare CLR-based programming models with SQL Server models such as Transact SQL and extended stored procedures. Get tips on how to choose a model, code samples, and more.
    Using MapQuest Maps in your ASP.NET Application
    DotNetJunkies
    A book is great, but a picture is worth 1,000 words right? So stop giving your address and expecting people to find you ... draw them a map! Better yet, have MapQuest draw a map for you. You'll learn how to add a map to your ASP.NET application in this article.
    Using Regular Expressions
    4Guys from Rolla
    Regular expressions are a neat and efficient way to perform extremely powerful string pattern matching and replacing. For example, imagine that you had an HTML document and you wanted to pick through it to retrieve all the text between any bold tags (between <b> and </b>). Although this can be done with String class methods such as IndexOf and Substring, it would involve an unnecessarily complex loop with some ugly code. Instead, a relatively simple regular expression could be used.
    Working with Web Data in C# (Screen Scraping)
    C#Today
    Think of the World Wide Web as a giant database management system in which the web sites are the databases and the web pages are the database tables. Now think about how useful it would be to gather data from those tables in a form that could be processed, queried, and combined with other, otherwise unrelated, data in new combinationsusing C# and the .NET framework. In this article, Tony Loton looks at how to: drive HTTP GET and POST requests to web sites using the WebRequest and Stream classes, capture the responses via the WebResponse class, and pick out specific nuggets of information from a web page using regular expressions and the Regex class. The end result is a small but useful engine and a demonstration application, that goes a long way towards allowing data to be selected from web pages as though selecting from relational database tables, using SQL syntax.
    Wrappers: Use Our ManWrap Library to Get the Best of .NET in Native C++ Code
    MSDN
    Use Our ManWrap Library to Get the Best of .NET in Native C++ Code
    Ad
    BootFX
    Reliable and powerful .NET application framework.
    Looking to invest in a major software project? Technical and commercial advice available here.
    Other Helpful Sites
    MBR 247
    Topaz Filer
    SharePoint Email Filing
    Software Advisory Services
     
    Copyright © AMX Software Ltd 2008-2010. Portions copyright © Matthew Baxter-Reynolds 2001-2010. All rights reserved.
    Contact Us - Terms of Use - Privacy Policy - 4.0.30129.1734