String Capture

Hello,
I would like help on an issue, what happens is that I capture a data (ID) but it comes with another numbering, I would like to know how to remove that numbering from others, that is, just leave the ID

This can probably be achieved with Regex but more information is needed. If you want to learn regex yourself or formulate your question more so that an answer can be provided I suggest examining this link: