I\'m working on a regular expression to recognize variable declarations in C and I have got this.
[a-zA-Z_][a-zA-Z0-9]*
Is there any bette
This is the complete form of a variable name.
Just a little modification done for which you can use multiple _ if you wish.
_
([a-zA-Z_][a-zA-Z0-9]*)*