Elements extraction

If input has size property regex should not extract data. Only with no size property

Input:
<img class="EmojiInsert" style="max-width:100%" data-outlook-trace="F:1|T:1" src="cid:ec2ed1d6-a033-4906-8578-2db58a5088fb">

Output:

src=“cid:ec2ed1d6-a033-4906-8578-2db58a5088fb”

Input :
<img size="1234" class="EmojiInsert" style="max-width:100%" data-outlook-trace="F:1|T:1" src="cid:ec2ed1d6-a033-4906-8578-2db58a5088fb">

Output : None

Hi,

I think it’s difficult to achieve it with single regex.
So, Does the following fit for you?

Sequence1.xaml (8.4 KB)

Regards,

1 Like

Thanks for the idea @Yoichi . Appreciated

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.