21 April 2009

Regular Expression List

In an earlier post, I showed some regular expressions I had found for manipulating strings in a PDF project.

The following is a list of other expressions I have developed for use on other projects. I plan to update this list as I create expressions.

Regular Expressions



Expression (C#):
@"[\(.\d+.\)]+$"

Purpose:
I used this expression to rename spreadsheets. This expression finds ([digits]) at the end of a string. Further code parses and increments the number inside the parentheses.