I need to extract "C:\Documents and Settings" from the last line of this data:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft
ExcludeSubDirs REG_DWORD 0x1
ExtensionList REG_SZ
FirstAction REG_DWORD 0x11
ThreatName REG_SZ C:\Documents and Settings
Owner REG_DWORD 0x3
ProtectionTechnolog REG_DWORD 0x1
SecondAction REG_DWORD 0x11
DirectoryName REG_SZ C:\Documents and Settings
How can I extract "C:\Documents and Settings" or whatever the value is multiple times using PHP?