The task. We have a text with GUIDs and we want to get all the GUIDs.

Tools. We'll use Regular Expressions in C# for this task.

Solution. The most important in this code is @"\b[A-F0-9]{8}(?:-[A-F0-9]{4}){3}-[A-F0-9]{12}\b