[ Hidden Content! ]
The Goal: Capturing not just one item, but a list of items (e.g., every order in a user's purchase history).The Steps:
- The Loop: Use a
loop in LoliCode to iterate through the server's response.Code:FOREACH
- Recursive Regex: Use a Regex pattern that matches multiple items (e.g.,
).Code:/order-id/g
- The Capture: Push each found ID into a list variable.
- Formatting: Use the
function to turn that list into a single string for your log:Code:JOIN
.Code:Orders: 101, 102, 103









![[Image: kwi6yAD.gif]](https://patched.to/pbb-proxy/UUNCQ0JeTUoNGVgIBhBLGwVYDxhTR1ADSnIlHgFZUA--/kwi6yAD.gif?t=1771681490)