Most efficient way to lookup records with URL containing certain string?

There is the lookupRecordsWithURL command, but I’m looking for records which contain a specific string (basically to also find matches which have the same path elements, but might have different query elements after the ? in the URL).

Is the most efficient way to script this to use the search command with a search string to find URLs with a matching pattern? Or would using the whose operator in AS/JXA be better?

The search command should be much more efficient if the scope is the same.

1 Like

Thanks - that’s also the easiest solution, so great :slight_smile: