Regex for Credit card

Actually , I was using the bot package ( [X-PDF Redaction - Example.zip) downloaded from below link to apply redaction function to hide the sensitive datas in input PDF file and store again in PDF

I can’t share the data available in PDF as it is contain very sensitive data

Note : The input file which using in scanned PDF file