can anyone tell me usage of (\1) in regex??
Test String: <font size=10><span>l abel<span></font>
Pattern: <font[^>]*>(.*?)\s*\w+\s *(\1)</font>
This is working
but if i change latter <span> to </span>and try to write pattern with (/1),am not getting it.
Pls give the solution
Thank you
Test String: <font size=10><span>l abel<span></font>
Pattern: <font[^>]*>(.*?)\s*\w+\s *(\1)</font>
This is working
but if i change latter <span> to </span>and try to write pattern with (/1),am not getting it.
Pls give the solution
Thank you
Comment