Hi everyone,
Please help on the best way to find and replace some special characters on the body of the email.
These ones:
< - <
> - >
& - &
' - '
" - "
Is there a regex pattern For example search on the email body for this: ‘&’ and replace with this ’ ↦ ’
Could there be maybe a regex pattern that will search for all of those char at once then if it finds any then replace those ones it finds, instead of me using nested IF’s.
ppr
(Peter Preuss)
April 10, 2024, 11:06am
2
it might be better to use a method to encode the text like
Hi @ppr thanks for the response,
ppr
(Peter Preuss)
April 10, 2024, 11:26am
4
is project compatibility set to Windows or to Legacy?
It doesn’t show on the .json text file but I think it’s legacy
ppr
(Peter Preuss)
April 10, 2024, 11:42am
6
When:
(Studio Bottom right)
Then:
close the XAML
TAKE A BACKUP FROM THE XAML
Open XAML within a text editor (notepad++ is recommended)
Add the following lines, if it is missing
<AssemblyReference>System.Web</AssemblyReference>
AND
<x:String>System.Web</x:String>
1 Like
Nope does not show on my side
Could you please also send me screenshots of the activities you used please
ppr
(Peter Preuss)
April 10, 2024, 12:35pm
10
Assign Activity will be used
Lets avoid ping-pong and have straighforward discussions and progress
Is there a way this Could this be done using regex?
ppr
(Peter Preuss)
April 10, 2024, 12:41pm
12
we recommend to prefere the right approaches / dedicated options and with HttpUtility.Encode we do have an appropriate option
ppr
(Peter Preuss)
April 10, 2024, 12:47pm
13
As an alternate give a try at:
Alright this worked for an & character:
Here is a text I was testing with
Output:
on the apostrophe of didn’t it put the '.
I think the second suggestion will do thank you so much
system
(system)
Closed
April 13, 2024, 1:14pm
15
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.