I have a text file with multiple different items that I need to grab from it.
Here is portion of the text file:
JOB_NUMBER XXXX-XX TYPE: String
SOURCE: User-Defined
ACCESS: Full
DESIGNATED: NO
DESCRIPTION:
CUSTOMER SAMPLE COMPANY TYPE: String
SOURCE: User-Defined
ACCESS: Full
DESIGNATED: NO
DESCRIPTION:
OVERBURN 5.500000e-03 TYPE: Real Number
SOURCE: User-Defined
ACCESS: Full
DESIGNATED: NO
DESCRIPTION:
I need to find the string with JOB_NUMBER in it and grab the number "XXXX-XX" same with "CUSTOMER" but that will be a string not an integer.
This cannot be done by line number because it will be different every time.
Any suggestions would be very helpful