How to make REGEX ignores anything before a word

Hello All,

apologize if this is a silly question but i am not a developer

we have completed a project using StudioX and it was working perfectly until something was changed in the source data.

we have a file that has the below part:
K-6: Inserted Compartment.
At 17:36 safely and successfully launched scraper.
At 1:15 safely and successfully launched V-scraper.
At 22:18 start up both sections 9 & 6 after completed scraping activity.
K-17: Normal operation.
K-26: Normal operation.
HR: At 17:36 Recieved new order.
At 16:36 Entered into system by Manager.
At 18:36 assigned to Engineer.

we are interested only in the HR part and we had it as
if variable starts with AT, then append and it was working well until they added the K-6 part which also has AT part

the question is how to have our code reads only the part after HR and ignore everything before it?

Hi @firas ,

Could you check with the below Regex Expression :

HR:[\S\s]+

Let us know if you were not able to implement this or if the highlighted data is not the expected output.

Thank you and sorry for being late in replying; i could not implement this due to other engagement. i will try it soon

sorry again

1 Like