Skip to main content
Nintex Community Menu Bar

Replace credit card number

  • Oct 12, 2016 11:49 PM UTC
  • 7 replies
  • 44 views
  • Translate All

Forum|alt.badge.img+5

I have a Nintex form which collects a users Credit Card number. After the form is submitted and approved via a Nintex Workflow, I to replace the original Credit Card number ,e.g. 6666 7777 8888 9999 with XXXX XXXX XXXX 9999. Anyone able to get me started?

7 replies

Forum|alt.badge.img+9
  • Oct 13, 2016 1:19 PM UTC

use Regular Expression action with Replace Text operation:

Translate

Forum|alt.badge.img+5

Frank, I tried this but it replaced the entire card number with XXXX. I just want it to replace the preceding 12 or so numbers and leave the last four digits.

Translate

Forum|alt.badge.img+9
  • Oct 26, 2016 7:48 AM UTC

Do You have append the green marked spaces after pattern and replacement text?

Translate

Forum|alt.badge.img+5

Ahhh.....I missed that crucial bit....thanks

Translate

Forum|alt.badge.img+3
  • Novice
  • Jul 6, 2018 7:53 PM UTC

I dont understand what "append the green marked spaces" means.  I cant get the replacement to work correctly for me.  My pattern is [0-9] and I want to put X in the first 5 positions.  Would you attach screen print to assist me?

Translate

Forum|alt.badge.img+9
  • Jul 9, 2018 8:55 AM UTC

use pattern ^d{5} and replacement text XXXXX

Translate

Forum|alt.badge.img+3
  • Novice
  • Jul 9, 2018 1:51 PM UTC

Thank you

Thanks,

Sandy

Sandy Koch, BB&T Vice President

Enterprise Data Office

Wilson, NC

252-373-9293

skoch@bbandt.com<mailto:skoch@bbandt.com>

#WeCreateWOW, #AWSIY

Translate