How can I extract the number and key from the following strings using regular expressions?
Duplicate entry '24040446669881344' for key 'clave_something'
Duplicate entry '24040446669881345' for key 'clave_something_else'
I tried using substrings but it wont work when the length of the chain changes.
Thanks!