I am trying to create regular expression to parse a piece of code.
here is my code snipett
Method1(100,variable1)
@"^(?\Method1)\((?\d+),\s(?\w+)\)$"
from above expression i am extracting different data.
But i some cases there are chances to commented lines
like below
Method1(100,variable1)
so how what should i add in my above regular expression to ignore strings after the ')' close bracket