Browse by Tags
All Tags »
Regular Expressions (RSS)
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...
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...
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...
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...
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...
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...
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...
I came across a good blog entry with a list of commonly used regular expressions . Through it would be useful to reference.
Read More...
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...
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...