hi, guys.
I need to parse a text structured as shown below.
I'm not expert on parsing text, can someone give me an advice for learn how to parse a text like this?
/ ______________________________________________________________________________ / MODEL INFORMATION ModelName "modelloTestValidazione" Title "" Project "" Author "" Reference "" Comments "" / ______________________________________________________________________________ / UNITS LengthUnit m MassUnit T EnergyUnit J PressureUnit MPa ForceUnit N TemperatureUnit C / ______________________________________________________________________________ / GROUP DEFINITIONS Group 1 16711680 "\\Model" / ______________________________________________________________________________ / FREEDOM CASE DEFINITIONS FreedomCase 1 0 1 "Freedom Case 1" / ______________________________________________________________________________ / LOAD CASE DEFINITIONS LoadCase 1 0 "Load Case 1" LCInclude 3 / ______________________________________________________________________________ / COORDINATE SYSTEM DEFINITIONS CoordSys 1 "Global XYZ" GlobalXYZ / ______________________________________________________________________________ / NODE COORDINATES Node 1 0.00000000000000E+0 0.00000000000000E+0 0.00000000000000E+0 Node 2 1.00000000000000E+2 0.00000000000000E+0 0.00000000000000E+0 Node 3 0.00000000000000E+0 1.00000000000000E+2 0.00000000000000E+0 Node 4 0.00000000000000E+0 0.00000000000000E+0 1.00000000000000E+2 Node 5 0.00000000000000E+0 0.00000000000000E+0 -1.00000000000000E+2 Node 6 1.00000000000000E+2 0.00000000000000E+0 -1.00000000000000E+2 Node 7 0.00000000000000E+0 1.00000000000000E+2 -1.00000000000000E+2 / ______________________________________________________________________________ / BEAM ELEMENTS Beam 1 1 1 1 3 Beam 2 1 1 1 2 Beam 3 1 1 1 4 Beam 4 1 1 3 4 Beam 5 1 1 2 4 Beam 6 1 1 1 5 Beam 7 1 1 2 6 Beam 8 1 1 3 7 / ______________________________________________________________________________ / NODE RESTRAINTS (ROTATION AS RADIAN) / Freedom Case 1 NdFreedom 1 5 1 DX DY DZ RX RY RZ NdFreedom 1 6 1 DX DY DZ RX RY RZ NdFreedom 1 7 1 DX DY DZ RX RY RZ / ______________________________________________________________________________ / NODE FORCES / Load Case 1 NdForce 1 4 5.00000000000000E+1 5.00000000000000E+1 0.00000000000000E+0 / ______________________________________________________________________________ / BEAM PROPERTIES BeamProp 1 "Beam Property 1" MaterialName "Unknown material - Modified" Modulus 1.00000000000000E+3 Poisson 2.00000000000000E-1 UsePoisson TRUE Area 1.00000000000000E+0 MomentI11 8.33333333333300E-2 MomentI22 8.33333333333300E-2 MomentJ 1.40666666666700E-1 SectionType SolidRect B 1.00000000000000E+0 D 1.00000000000000E+0 NonLinType Elasticplastic Hardening Isotropic