I'm in Java and have a string that will always be in this format:
;<a href="#" onClick="return CCL(this,'#461610734')" cs="c6"><b>gerg(1314)</b><br> (KC)</a><br>
This number 461610734 will change and may be any length.. I'd like to pick that number out and use it. As you can see the number is next to a ' (the first one working backwards) and a hash # (again, the first one working backwards).
I can find the numbers after the hash by using ([^\#]+$) and I can find up to the last ' by using ([^\']+$) (but this would be on the wrong side of the '...)
I'm lost... Anyone know how to join these two together and nudge the ' along one to the left to just get the numbers?
(?<='#)\d+as a Java string(?<='#)\\d+help you? Using a lookbehind.