Here are some lines from the code I am working on:
#include <file.au3>
#Include <Array.au3>
;Search folder
$root = "C:\autotest\test"
;Grab list of txt files
$FileList = _FileListToArray($root,"*.txt")
;_ArrayDisplay($FileList,"$FileList")
;Loop through text files
For $X = 1 to $FileList[0]
;Combine filename with source folder
$FileName = $root & "\" & $FileList[$X]
;Read file contents
$String = FileRead($FileName)
;Find name
$array = StringRegExp($string,"<find_me>",1)
;If name found, display it
; If IsArray($array) Then
;Firstname Lastname
MsgBox(0,"", $array)
;EndIf
Exit
Hope this will help to resolve my problem.
------------------------------------ AUTOIT EXPERTS ARE YOU LISTENING!!! -----------------------