I have a one page text file.
If the word GST is found anywhere on a line, I want this line to be local variable %1
If the word PST is found anywhere on a line, I want this line to be local variable %2
Please keep in mind that – by using the above shared JavaScript code – if the job file contains multiple lines which contains the string “GST” or “PST” that the latest line will be assigned to the Job Info Variable.