Answered question

Can I select multiple lines as a variable extractor boundary?

"Data1": "Filename",
"Data2": "123",
"Data3": "456"

In this example I want to extract the 123. These 3 lines of code appear multiple times, but I need to include multiple lines to ensure I get the correct Data2 value. Therefore I must include the Data1 in the boundary.

I would like my left boundary to be:
"Data1": "Filename",
"Data2": "

However this does not work. How do I choose a boundary with multiple lines?

Tim E.
Tim E.

Tim E.

Level
0
2 / 100
points
Nouredine A.
Nouredine A.

Nouredine A.

Level
4
5000 / 5000
points
Team

If you switch in advanced mode in the variable extractor panel, this kind of regexp should work:

"Data1": "Filename",\s?"Data2": "(\d*?)"

Did you find this useful ?

No (0)

Yes (0)

0% of users found this answer useful