REPLACE Operator -

RMforDUMMIESRMforDUMMIES Member Posts: 1 Newbie
I have a column of zip codes. Some zip codes have letters instead of numbers in the last two or three placeholders. I am using the REPLACE operator, selecting [A-Z] replace with 0 (zero). When I run this, I do not see zeros. The letters are gone but any placeholders at the end of the 5 digit zip codes are now blank, instead of zero.  - Sincerely, RMforDummies


  • varunm1varunm1 Moderator, Member Posts: 1,207 Unicorn
    Hello @RMforDUMMIES

    Can you provide your sample data? It is working fine for me.


    Be Safe. Follow precautions and Maintain Social Distancing

  • BalazsBaranyBalazsBarany Administrator, Moderator, Employee, RapidMiner Certified Analyst, RapidMiner Certified Expert Posts: 955 Unicorn
    Did you enter the 0 only in the Regular Expressions testing window? It has to be in the operator parameters. Your problem sounds like an empty replacement parameter in the operator.

Sign In or Register to comment.