This regular expression in C# is giving me error in java:
"<input type="hidden" name="GALX" value="(?<galx>[a-zA-Z0-9_]+)">"
Error:
Look-behind group does not have an obvious maximum length near index 60
<input type="hidden" name="GALX" value="(?<galx>[a-zA-Z0-9_]+)">
What would be the equivalent expression in Java?
This i’m guessing. I changed ‘ to ” and escaped any “
Edit :: And for the named grouping of “galx” only java 7 supports this
Regex Named Groups in Java