Twitter | Search | |
Dexter H Locke Jul 14
. under Common Transformations, add "Remove Special Characters" ? It would be great to strip out all non-character values
Reply Retweet Like
ostephens Jul 14
can you give an example for this?
Reply Retweet Like
Dexter H Locke
Survey answer coded like this "Hot tub/Jacuzzi/Spa" to "Hot tub Jacuzzi Spa" or generally "Text: foo, foo2" to "Text foo foo2"
Reply Retweet Like More
ostephens Jul 14
so I think you could use the GREL value.replace(/\W/," ")
Reply Retweet Like
ostephens Jul 14
but I see - you want it under a Common Transformations
Reply Retweet Like
ostephens Jul 14
you could add an issue at requesting it
Reply Retweet Like
Dexter H Locke Jul 15
Replying to @ostephens @OpenRefine
Will try, thanks for the recipe !
Reply Retweet Like
Ettore Rizza Jul 16
Tip: be careful with this function if you have accented letters. They'll be erased too. To retain them, use value.replace(/[^\p{L}]/, "")
Reply Retweet Like
Dexter H Locke Jul 17
Thanks!
Reply Retweet Like