Friday, July 22, 2005

Finding GUIDS using Visual Studio.NET's regular expression

Ever wanted to find all the GUIDS defined in your code. This regular expression will help you find them using Visual Studio .NET's find dialog [a-zA-Z0-9]^8(-[a-zA-Z0-9]^4)^3(-[a-zA-Z0-9]^12) this will find all guids with the following format f9f739bf-0f66-4aee-b0f1-6af9bfe34751

No comments: