Skip to main content
Nintex Community Menu Bar

Replace credit card number

  • October 12, 2016
  • 7 replies
  • 43 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
  • October 13, 2016

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
  • October 26, 2016

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

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
  • July 9, 2018

use pattern ^d{5} and replacement text XXXXX

Translate

Forum|alt.badge.img+3

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