Replace credit card number

  • 13 October 2016
  • 7 replies
  • 10 views

Badge +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

Badge +9

use Regular Expression action with Replace Text operation:

Badge +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.

Badge +9

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

Badge +5

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

Badge +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?

Badge +9

use pattern ^d{5} and replacement text XXXXX

Badge +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

Reply