.NET Temel Uygulamalarda C# ve Normal İfadeler aracılığıyla CSV Dosyayı Temizleyin

Windows, Linux ve macOS’ta Office ve OpenOffice Belgeleri, E-Tablolar ve Sunumlar ile CSV’teki hassas bilgileri bulun ve kaldırın


.NET API için Belge Metni Redaksiyonu

PDF, Word, Excel, PowerPoint belgelerindeki ve resimlerdeki hassas ve sınıflandırılmış bilgilerin temizlenmesi için, biçimden bağımsız tek bir arayüz, meta verileri değiştirme ve yorumları kaldırma yeteneği dahil. GroupDocs.Redaction for .NET aracıyla, sınıflandırılmış bilgileri yeniden düzenleyebilir ve düzeltilmiş belgeyi PDF’de kaydedebilir, tüm sayfaları raster görüntülere dönüştürebilir veya daha fazla düzenleme için belgeyi orijinal biçiminde tutabilirsiniz.

C# aracılığıyla Normal İfadeler kullanarak CSV'teki Metni Düzeltin

GroupDocs.Redaction, .NET geliştiricilerinin, CSV dosyasını birkaç kolay adımda yeniden düzenlemek için normal ifadelerin tam gücünü kullanmasına olanak tanır.

  • Redactor sınıfının bir örneğini oluşturun ve CSV dosyasını yükleyin
  • Metni bulmak ve değiştirmek için bir RegexRedaction sınıfı örneği oluşturun
  • RegexRedaction nesnesiyle Redactor.Apply yöntemini çağırın

Redaksiyon API'sini Kullanmaya Başlayın

Komut satırından “nuget install GroupDocs.Redaction”" olarak veya Visual Studio’nun Paket Yöneticisi Konsolu aracılığıyla “Install-Package GroupDocs.Redaction”" ile yükleyin. Alternatif olarak, downloads adresinden bir ZIP dosyasındaki çevrimdışı MSI yükleyicisini veya DLL’leri edinin ve projenizde buna manuel olarak başvurun.

using (Redactor redactor = new Redactor(@"sample.csv"))
{
	redactor.Apply(new RegexRedaction("\\d{2}\\s*\\d{2}[^\\d]*\\d{6}", new ReplacementOptions(System.Drawing.Color.Blue)));
	redactor.Save();
}

CSV Tr Live Demo

Checkout the free online demo for CSV Tr.

No need to set up

No need to write any code

Just upload the source file

Get the download link

What is CSV File Format?

Files with .csv (Comma Separated Values) extension represent plain text files that contain records of data with comma separated values. Each line in a CSV file is a new record from the set of records contained in the file. Such files are generated when data transfer is intended from one storage system to another. Since all applications can recognize records separated by comma, import of such data files to database is done very conveniently. Almost all spreadsheet applications such as Microsoft Excel or OpenOffice Calc can import CSV without much effort. Data imported from such files is arranged in cells of a spreadsheet for representation to user.

Read More

Other Tr Options

DOC Tr

(Microsoft Word Binary Format)

DOCM Tr

(Microsoft Word 2007 Marco File)

DOCX Tr

(Office 2007+ Word Document)

DOT Tr

(Microsoft Word Template Files)

DOTM Tr

(Microsoft Word 2007+ Template File)

DOTX Tr

(Microsoft Word Template File )

PDF Tr

(Portable Document Format)

POT Tr

(Microsoft PowerPoint Template Files)

POTM Tr

(Microsoft PowerPoint Template File)

PPS Tr

(PowerPoint Slide Show)

PPSM Tr

(Macro-enabled Slide Show)

PPSX Tr

(PowerPoint Slide Show)

PPT Tr

(Microsoft PowerPoint 97-2003)

PPTM Tr

(Macro-enabled Presentation File)

PPTX Tr

(Open XML presentation Format)

RTF Tr

(Rich Text Format)

XLS Tr

(Microsoft Excel Spreadsheet (Legacy))

XLSM Tr

(Macro-enabled Spreadsheet)

XLSX Tr

(Open XML Workbook)

XLT Tr

(Excel 97 - 2003 Template)

XLTM Tr

(Excel Macro-Enabled Template)

XLTX Tr

(Excel Template)

Back to top
 Türkçe