src/vs/platform/telemetry/common/telemetryService.ts/TelemetryService/_removePropertiesWithPossibleUserInfo
class TelemetryService:	private _removePropertiesWithPossibleUserInfo(property: string): string {
		// If for some reason it is undefined we skip it (this shouldn't be possible);
		if (!property) {
			return property;
		}

		const value = property.toLowerCase();

		const emailRegex = /@[a-zA-Z0-9-.]+/; // Regex which matches @*.site
		const secretRegex = /(key|token|sig|signature|password|passwd|pwd|android:value)[^a-zA-Z0-9]/;
		const tokenRegex = /xox[pbaors]\-[a-zA-Z0-9]+\-[a-zA-Z0-9\-]+?/; // last +? is lazy as a microoptimization since we don't care about the full value

		// Check for common user data in the telemetry events
		if (secretRegex.test(value)) {
			return '<REDACTED: secret>';
		} else if (emailRegex.test(value)) {
			return '<REDACTED: email>';
		} else if (tokenRegex.test(value)) {
			return '<REDACTED: token>';
		}

		return property;
	}