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:
<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?
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
– Beau Van Der Meer Dec 19 '22 at 09:26