I have this regular expression in python:
'<input type="hidden" name="GALX" value="(?P<galx>[a-zA-Z0-9_]+)">'
I want an equivalent regular expression string for C#. This string gives a parsing error in c#. Thanks in advance.
I've tried this:
Regex rc = new Regex("<input type=\"hidden\" name=\"GALX\" value=\"(?P<galx>[a-zA-Z0-9_]+)\">");
It gives me this error:
parsing \"<input type=\"hidden\" name=\"GALX\" value=\"(?P<galx>[a-zA-Z0-9_]+)\">\" - Unrecognized grouping construct.