Hi, there
I have resource lines and target lines here below
resource lines:
1 J=2,7183 SEC=CON450X450 NSEG=2 ANG=0
56 J=7224,164 SEC=CON450X450 NSEG=2 ANG=0
Target lines:
*element,type=b31,elset=CON450X4501
*element,type=b31,elset=CON450X45056
"elset=CON450X4501" in the target lines come from a combination of "1" and "SEC=CON450X450". Similarly, "elset=CON450X45056" in the target lines come from a combination of "56" and "SEC=CON450X450". How can I achieve this transformation? The steps are supposed to be
1) capture string just after "SEC=", assign in just after "elset="
2) capture first digital number, put it just at the end of strings "elset=CON450X4501"
I am trying to use split and have obtained nothing yet. Could you please help me out? Thank you a lot.
best wishes
ning