Welcome to Professional ASP.NET - Chris Love's Official Blog Sign in | Join | Help

Chris Love's Official ASP.NET Blog

Chris Love's Helpful tips, tricks and pragmatic development knowledge for the ASP.NET world.
ASP Insider

Browse by Tags

All Tags » Regular Expressions   (RSS)

Microsoft Store

More Fun with Regular Expressions : Word and Paragraph Parsing
Trolling the ASP.NET forums again this morning, I know I do it a lot, I found a question trying to parse the paragraphs out of a series of text. So I knew I had to answer it. The regular expression needed is '(.+)'. This tells the Regular Expression object Read More...
Parsing Capital Letters
I found an intersting question on the ASP.NET forums this morning. How can you get a count of the capital letters in a string? My first thought was, 'This is a Job for Regex!'. If you are not familiar with regular expressions, please get to know Read More...
Regular Expression Visualizer - A Must Have Tool
This week I saw a twitter from Roy Osherove about a new Regular Expression Visualizer he built. If you do not know Roy yet, he is a very smart .NET developer for TypeMock and has done some great work with regular expression tools, such as Regulazy and Read More...
How to Replace Ambiguous Values
Recently I had a friend tell me they were working on a project where they had to hand scrub the data in their database. In particular that day they were manually scrubbing values like 'Not Applicable', 'NA' and 'N/A' which all meant the same thing. But Read More...
Quick and Easy Currency Extractor
I have fallen in love with Regular Expressions over the past few months. Over the weekend I replaced some moderately complicated parsing code on an older application with a Regular Expression and found another quick use for one this morning, extracting a currency value. Read More...
Moving ViewState and Other Hidden Variables to the Bottom of the Page - Update
Earlier I wrote about a method of moving the ViewState to the bottom of the page . The advantages of this are two fold, one is it helps with search engine optimization by getting non-essential content out of the top of the page. Second since it is at Read More...
Preventing Cross-Site Script Attacks with a Custom TextBox Control
Cross-Site Scripting attacks are still a frequent occurance across the web. Fortunately the ASP.NET framework has a built-in protection against this type of attack. But as good as that is, it is still actually limited to a certain degree. So it is a good Read More...
Common Regular Expressions
I came across a good blog entry with a list of commonly used regular expressions . Through it would be useful to reference. Read More...
Regular Expression Recipes for .NET
I really started working with some heavy regular expression manipulations about a month or so ago. I found this really good bood by Nathan A Good, Regular Expression Recipes for Windows Developers , where he presents some pretty useful and common regular Read More...
Extracting Content with a regular Expression
Regular Expressions are not a very easy skill for any developer to master, that is why so few actually leverage this amazing feature of the .NET framework. I have been working on a little application this week that needed to extract a specific peice of Read More...