Intune keeps script bodies base64-encoded and unsearchable in the portal, so questions like “which of my scripts remove AppX packages” or “does anything still reference this registry key” normally mean opening scripts one at a time.
This script pulls every Remediation (both the detection and remediation halves) and every platform script, decodes them, and matches each against a regular expression you supply, then reports which scripts matched and what matched in them. It can write the results to CSV and optionally include the full script bodies. It is read-only, and it follows paging so a large tenant is fully covered.