Extract the MSKB # From A MS Windows Patch File Name

Given a patch file name containing a KB # (ex. WindowsServer2003-KB1234567-v2-x86-ENU.exe), this regex will return the KB1234567 portion. If the KB # includes a version, it will be returned also. It will return 3 groups, the full KB (including the version if present), the KB # alone, and the version alone if any,
Rodney Rich
05/23/2014 20:05:13

0 comments so far.

<< back to Library