Regular Expressions 101

Community Patterns

Find all Internet Explorer 11.x pkgmgr packages

0

Regular Expression
PCRE (PHP <7.3)

/
(.*(Microsoft-Windows-InternetExplorer-).*(11\.).*(\.mum))$
/

Description

This regex can be used to find all of the packages (.mum) files in the WINDIR%\servicing\Packages directory. I used it to remove the update packages from Winodws 7

pkgmgr /up:"filename" /norestart /quiet

Submitted by Pressanykey - 9 years ago