Writing of the code to data masking in pdf with pdf extractor sdk in VB.NET can be done by developers of any level using ByteScout PDF Suite. Data masking in pdf with pdf extractor sdk in VB.NET can be applied with ByteScout PDF Suite. ByteScout PDF Suite is the bundle that provides six different SDK libraries to work with PDF from generating rich PDF reports to extracting data from PDF documents and converting them to HTML. This bundle includes PDF (Generator) SDK, PDF Renderer SDK, PDF Extractor SDK, PDF to HTML SDK, PDF Viewer SDK and PDF Generator SDK for Javascript.
If you want to quickly learn then these fast application programming interfaces of ByteScout PDF Suite for VB.NET plus the guideline and the VB.NET code below will help you quickly learn data masking in pdf with pdf extractor sdk. To use data masking in pdf with pdf extractor sdk in your VB.NET project or application just copy & paste the code and then run your app! Check these VB.NET sample code examples to see if they acknowledge to your needs and requirements for the project.
If you want to try other samples for VB.NET then free trial version of ByteScout PDF Suite is available on our website.
On-demand (REST Web API) version:
Web API (on-demand version)
On-premise offline SDK for Windows:
60 Day Free Trial (on-premise)
Imports System.IO Imports System.Text.RegularExpressions Imports Bytescout.PDFExtractor Module Program Sub Main() Try ' Generate CSVExtractor instance Using extractor As New CSVExtractor("demo", "demo") ' Load PDF document extractor.LoadDocumentFromFile("sample.pdf") ' Get all data Dim allData = extractor.GetCSV() ' Regular expressions and replacements Dim ssnRegex = "\d{3}[-]?\d{2}[-]?\d{4}" Dim ssnReplace = "***-**-****" Dim phoneRegex = "\d{3}[-]?\d{3}[-]?\d{4}" Dim phoneReplace = "***-***-****" ' Find and mask SSN and phone numbers allData = Regex.Replace(allData, ssnRegex, ssnReplace) allData = Regex.Replace(allData, phoneRegex, phoneReplace) ' Write as CSV File.WriteAllText("output.csv", allData) ' Open file Process.Start("output.csv") End Using Catch ex As Exception Console.WriteLine(ex.Message) End Try Console.WriteLine("Press enter key to exit...") Console.ReadLine() End Sub End Module
60 Day Free Trial or Visit ByteScout PDF Suite Home Page
Explore ByteScout PDF Suite Documentation
Explore Samples
Sign Up for ByteScout PDF Suite Online Training
Get Your API Key
Explore Web API Docs
Explore Web API Samples
60 Day Free Trial or Visit ByteScout PDF Suite Home Page
Explore ByteScout PDF Suite Documentation
Explore Samples
Sign Up for ByteScout PDF Suite Online Training
Get Your API Key
Explore Web API Docs
Explore Web API Samples
also available as: