Using regex search and grouping – Python

For some silly reason we have a string with the following information We can use the regular expressions module to find and group the relevant information…just like this. That should output The regex broken down This gives us the name This gives us the telephone number Finally, this will give us the id