cancel
Showing results for 
Search instead for 
Did you mean: 
Workflow Hero

Replace credit card number

Jump to solution

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?

0 Kudos
Reply
8 Replies
Workflow Hero

Re: Replace credit card number

Jump to solution

use Regular Expression action with Replace Text operation:

Reply
Not applicable

Re: Replace credit card number

Jump to solution

Hi, ‌! Let us know this advice worked out.. Thanks!

0 Kudos
Reply
Workflow Hero

Re: Replace credit card number

Jump to solution

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.

Reply
Workflow Hero

Re: Replace credit card number

Jump to solution

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

Reply
Workflow Hero

Re: Replace credit card number

Jump to solution

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

Reply
Workflow Hero

Re: Replace credit card number

Jump to solution

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?

0 Kudos
Reply
Workflow Hero

Re: Replace credit card number

Jump to solution

use pattern ^\d{5} and replacement text XXXXX

0 Kudos
Reply
Workflow Hero

Re: Replace credit card number

Jump to solution

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

0 Kudos
Reply