Hello everyone,
After spending a few hours testing, I'm still unable to get my expression to work. I have a plain text sample (after converting HTML to text) that contains some confidential information that I need to mask with the same word lengths. Here's an example:
[http://app.xxxxxxxx.com/images/emails/xxx-xxxx/xxx-xxxx-xxx.png] NEW TEAM MEMBER [https://xxxxxxxxx.xxxxxxxx.com/images/photo_person_150x150.png] John Smith (32112) Start Date: Monday, May 08, 2023 Employee #: 32112 Position: XXXXXXXXXXXX Status: Full-Time Department: XXXXXXXXXXX Division: XXXXXXXXXX Location: XXX : XXX
I want to extract the staff name (in this case John Smith), start date, and position from the text and add it to an Excel file. I've tried adjusting the code below, but it only extracts the staff number (32112):
substring(outputs('Compose'), add(indexOf(outputs('Compose'), '('), 1), sub(indexOf(outputs('Compose'), ')'), add(indexOf(outputs('Compose'), '('), 1)))
Can anyone help me with this issue? Thank you.

Report
All responses (
Answers (