I want to get part of large data. some part of this data is as follows:
data = {{"(100)", -0.033716509`, -0.19824611`,
"(101)", -0.026845098`, -0.18296293`,
"(102)", -0.021913837`, -0.17231199`}, {"(103)", -0.015043555`,
-0.16745934`, "(104)", -0.0076064845`, -0.16494502`,
"(105)", -1.1449175`*^-15, -0.16417456`}, {"(106)",
0.0076064845`, -0.16494502`, "(107)", 0.015043555`, -0.16745934`,
"(108)", 0.021913837`, -0.17231199`}, {"(109)",
0.026845098`, -0.18296293`, "(110)", 0.033716509`, -0.19824611`,
"(111)", -0.054776429`, -0.23685639`}, {"(112)", -0.042058374`,
-0.20053958`, "(113)", -0.029721072`, -0.19132756`,
"(114)", -0.019094091`, -0.18620841`}, {"(115)", -0.0093881514`,
-0.18374386`, "(116)", -1.4016566`*^-15, -0.18296576`, "(117)",
0.0093881514`, -0.18374386`}, {"(118)",
0.019094091`, -0.18620841`, "(119)", 0.029721072`, -0.19132756`,
"(120)", 0.042058374`, -0.20053958`}, {"(121)",
0.054776429`, -0.23685639`, "("}, {}, {"ELE", "CENTROID",
"CARTESIAN", "STRESSES", "PRIN", "STRESSES", "PRIN", "STRAINS",
"PRINCIPAL", "STRAINS", "YM"}};
I want to get the elements starting from "(111)"
to {}
.
I prefer not to use Flatten
simply because I want the output to match the elements levels (but if Flatten is need that is ok).
the lists between "(111)"
to {}
is a variable and can be more or less.
what is the best pattern that can take the elements from "(111)"
to {}?
Note: This set of data is repeated multiple times in the large data list and I want them all.
Many thanks.