|
Stripping HTML Tags using Regular Expressions
|
Total Hit (1934) |
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 articl
....Read More |
Rating
|
|
|
Utilizing Regular Expression SubMatches
|
Total Hit (1679) |
This article examines advanced features of regular expressions. For more basic and beginner-level information on regular expressions, as well as a number of articles illustrating various applications of regular expressions, be sure to check out the articles at the Regular Expression Article Index!
....Read More |
Rating
|
|
|
|
|
A site for Regular Expression Resources
|
Total Hit (977) |
Welcome to RegExLib.com, the Internet's first Regular Expression Library. Currently we have indexed 637 expressions from contributors around the world. We hope you'll find this site useful and come back whenever you're looking for an expression for a particular task, or have just figured out a new e
....Read More |
Rating
|
|
|
Microsoft Beefs Up VBScript with Regular Expressions
|
Total Hit (1342) |
In this article, I'll describe all objects related to VBScript Regular Expressions, summarize common regular expression patterns, and provide some examples of using regular expressions in code.
|
Rating
|
|
|
TrimEx function using Regular Expression.
|
Total Hit (3282) |
Regular Trim function only removes preceding and trailing space but it does not remove all other white space characters e.g. New Line(\n), Carraige return(\r), Form Feed(\f), Tab(\t). To remove these characters you can easily implement function using Regular expression.
....Read More |
Rating
|
|
|
Leverage Regular Expressions
|
Total Hit (2043) |
Regular expressions provide a simple and efficient way—far beyond the capabilities most conventional programming languages offer—to search and replace text. However, relatively few developers are familiar with this powerful tool. I'll explain how you can leverage regular expressions from VB.NET to s
....Read More |
Rating
|
|
|
Regular Expressions in ASP.NET
|
Total Hit (1060) |
Regular expressions are an extremely useful tool for working with text. Whether you need to validate user input, search for patterns within strings, or reformat text in powerful ways, regular expressions can help.
|
Rating
|
|
|
Test your Search and replace Regular Expression
|
Total Hit (2728) |
Test your Regular expression and also test Search and replace with regular expression
«b»«a href='../tools/RegTester.aspx'»Click here to see Live Demo...«/a»«/b»
«code LangId=2»<%@ Page Language="VB" Debug="true" %>
<%@ import Namespace="System.Data.SqlClient" %>
<script runat="server">
....Read More |
Rating
|
|
|
|
Convert DataReader to DataTable
|
Total Hit (3882) |
There is no direct way to convert dataraeader to datatable in ADO.net so I wrote this function which is really handy.
Happy Prpgramming...
|
Rating
|
|
|
Dynamically Adding Controls
|
Total Hit (618) |
Adding controls at runtime provides the flexibility to design user interfaces that can be different things to different users. By the end of this article you'll be using multiple Placeholder controls to build a fexible template page.
|
Rating
|
|
|
How to display Error Line Number in VB
|
Total Hit (2804) |
In VB you can display error line number. Its little tedious job but it works fine. you have assign numbers to lines where you want to track error line number. These line numbers should be unique within function or sub.
|
Rating
|
|
|
Caching with ASP.NET Part-1
|
Total Hit (1078) |
In classic ASP, one of the techniques developers commonly relied on to speed up processing was the use of caching. One could, fairly easily, build their own caching system using Application variables, as highlighted in the FAQ, How can I use Application-level variables to cache information? There we
....Read More |
Rating
|
|
|
Caching with ASP.NET, Part-2
|
Total Hit (3144) |
In Part 1 we looked at how to use Output Caching and Fragement Caching of an ASP.NET Web page. These two techniques cached either the full HTML output of an ASP.NET Web page, or a portion of the HTML output of an ASP.NET Web page (by caching the HTML output of a User Control). In this part, we'll ex
....Read More |
Rating
|
|
|
|
Executing Custom Code During Installation
|
Total Hit (1582) |
An application can consist of not only traditional program files, message queues, event logs, and performance counters on the deployment destination but also custom code that must be executed on the deployment destination. You can configure your application to execute the custom code when your appli
....Read More |
Rating
|
|
|
|
|
|
|
|
How To: Call a Web Service Using SSL
|
Total Hit (1137) |
SSL can be used to guarantee the integrity and confidentiality of the messages passed to and from a Web service. This How To shows you how to use SSL with Web services.
|
Rating
|
|
|
How To: Host a Remote Object in a Windows Service
|
Total Hit (1373) |
Objects called using the .NET Remoting infrastructure can be hosted by ASP.NET, custom executables or Windows services. This How To shows you how to host a remote object in a Windows service and call it from an ASP.NET Web application.
|
Rating
|
|
|
Utilizing Regular Expressions
|
Total Hit (1751) |
This article is a follow-up to an earlier 4Guys article, An Introduction to Regular Expression with VBScript. (If you are not familiar with regular expressions, I highly recommend that you read the An Introduction to Regular Expression with VBScript article!) Since the previous article served more a
....Read More |
Rating
|
|
|
Validate What? Using Regular Expressions to Validate Input
|
Total Hit (1788) |
Validating user input is a basic but very necessary part of web development, especially when dealing with databases. Queries don't go too well when you have !@)#&#$*%?= in the search field. So we have to build a function that searches the input string for illegal characters (defined by you) and then
....Read More |
Rating
|
|
|
|
Picking Out Delimited Text with Regular Expressions
|
Total Hit (1802) |
Have you ever wanted to parse an HTML document and be able to easily grab the text between certain text delimiters? For example, imagine that we wanted to list all the text in an HTML document that falls within any bold tags (<b> ... </b>). Or say that we wanted to grab the text (if any) that was th
....Read More |
Rating
|
|
|
User Tips: Converting URLs into Hyperlinks
|
Total Hit (2086) |
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
....Read More |
Rating
|
|