This visual execution shows how MongoDB uses regex patterns to find documents with variable attribute values. Starting with a collection, we define a regex pattern to match field values like 'prefix_123'. The query checks each document's fieldName against the regex. Documents matching the pattern are included in results; others are excluded. The execution table traces each document's fieldName and whether it matches. Variable tracker shows how fieldName and match results change step by step. Key moments clarify why some values fail to match and how the regex works. The quiz tests understanding of matching steps and regex changes. This helps beginners see how MongoDB queries can flexibly find documents with variable fields.