Skip to main content

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?

use Regular Expression action with Replace Text operation:


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.


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


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


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


use pattern ^d{5} and replacement text XXXXX


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