Return to Snippet

Revision: 2221
at January 17, 2007 20:48 by rengber


Initial Code
\S*\s*(?=\()

Initial URL
http://aspnet.4guysfromrolla.com/articles/022603-1.aspx

Initial Description
The expression in parenthesis is a positive look ahead.  It seeks a single open parenthesis.   The to slash s expressions will seek whatever non space characters precede the parenthesis by zero or more spaces.

Initial Title
Regular Expression to Grab a Method Name from a C# Code File.

Initial Tags


Initial Language
Regular Expression