#include <Array.au3>
$Str = _
'HIGHEST STRESSES: ( KPa ) ' & @CRLF & _
' CODE STRESS %: 53.2 @NODE 760 ' & @CRLF & _
' STRESS: 49288.9 ALLOWABLE: 92591. ' & @CRLF & _
' 3D MAX INTENSITY: 103640.4 @NODE 389 ' & @CRLF & _
' ' & @CRLF & _
' 10 20022 8733 419 44962 1.00 1.00 28847 132302' & @CRLF & _
' 190 19563 4315 365 45987 3.01 3.01 23645 132302' & @CRLF & _
' ' & @CRLF & _
'BENDING STRESS: 48710.7 @NODE 190 ' & @CRLF & _
' TORSIONAL STRESS: 4142.0 @NODE 2199 ' & @CRLF & _
' AXIAL STRESS: 41473.2 @NODE 4100'
;Msgbox(0, '原字符串', $str)
$sR = StringRegExp($str, '\n(\h+\d+\s.+)', 3)
_ArrayDisplay($sR, '')
|