Jump to content

PHP Extract String


verdrm

Recommended Posts

I need to extract "C:\Documents and Settings" from the last line of this data every time it appears. It is always between DirectoryName REG_SZ and HKEY.

 

DirectoryName  REG_SZ        C:\Documents and Settings  HKEY

 

 

How can I extract "C:\Documents and Settings" or whatever the value is multiple times using PHP?

Link to comment
https://forums.phpfreaks.com/topic/209111-php-extract-string/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.