Thanks for your help with this Narinder
I'm still struggling, mostly because I don't know how to use Regex properly.
None of the regex patterns I can find online for removing emojis seem to
work at all.
I would be quite happy just to restrict the text to alphanumeric and the
kind of special characters I would find on an English keyboard, as we're not
likely to receive feedback in other languages.
Can anyone help me with
a) how to use a regex pattern either to omit emojis or only include
alpanumeric + english special characters. Essentially the ASCII character
set;
b) how to use regex to build a string which only includes the characters I
want.
I've downloaded the Regex plugin from Pluggers and think this code should
work - if I can find the right pattern:
ARRAY TEXT($textarray;0)
Preg Match All ($pattern;$original;$textarray)
$cleaned:=""
For ($i;1;Size of array($textarray)
$cleaned:=$cleaned +$textarray{$i}
end for
This seems more complicated than it should be, so would be grateful for any
help.
Thanks!
James
--
Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
**********************************************************************
4D Internet Users Group (4D iNUG)
Archive: http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub: mailto:[email protected]
**********************************************************************