hello =)
i am trying to get all instances of the following:
the number of "-" changes
then I am trying to find all the matches for the same Word or Phrase that fall under this sequence
trying to get the blah blah
here is what i have so far...
thanks in advance!
i am trying to get all instances of the following:
the number of "-" changes
Quote
;<------- begin Word or Phrase ------- >
then I am trying to find all the matches for the same Word or Phrase that fall under this sequence
Quote
|Word or Phrase: blah blah.|
trying to get the blah blah
here is what i have so far...
[ autoit ]
$data = FileRead($file) $names = StringRegExp($data, ";<-{x,5}begin", 1) debug($names) for $x = 1 to UBound($names) $descriptions = StringRegExp($data, "|" & $names[$x] & ".|", 1) Next Func Debug($variable1 = "", $variable2 = "", $variable3 = "") If IsArray($variable1) Then _ArrayDisplay($variable1) Else If $variable2 <> "" Then $variable1 &= @CRLF & $variable2 EndIf If $variable3 <> "" Then $variable1 &= @CRLF & $variable3 EndIf ClipPut($variable1) MsgBox(0, "Debug", $variable1) EndIf EndFunc ;==>Debug
thanks in advance!