1

For a project I'm currently working on I have to get a certain part of an email message and put it into a SharePoint list, its almost fully functional but there is still one small part that doesn't work,

The part of the email contains websites, so I choose to trim the rest of the email so that the websites remain,

This is the current output: Example.coexample.com

What I'm trying to achieve is this:

<br />
Example.co<br />
Example.com

Is there a easy fix for this? there is nothing I can split on except on the HTML Elements but I don't know if that's possible, when I searched for it I couldn't find anything, but these are the elements between the 2 sites:

HTML Elements

<br> <li><b>Example.co</b></li><li><b>Example.com</b></li> <br> <br>

(I had to post it as a picture because if I put it here as text it would display as a bulletpoint)

is there a way I can spilt here? or is there another way that i should do this?

The flow I'm currently using

This is what im supposed to do right? when i tested this it gives the same output as before, and when i check what the update domain array contains its this: [] so it seems empty

Skin
  • 9,085
  • 2
  • 13
  • 29
  • I meant paste it back into your question. I can do that though. – Skin Dec 19 '22 at 09:34
  • Are the domains always contained within the bold tag? – Skin Dec 19 '22 at 09:46
  • Yes i think so, in this example containing 2 websites, in other examples the same bold tag is used – Beau Van Der Meer Dec 19 '22 at 09:57