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

Windows, Linux ve macOS’ta Office ve OpenOffice Belgeleri, E-Tablolar ve Sunumlar ile DOC’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 DOC'teki Metni Düzeltin

GroupDocs.Redaction, .NET geliştiricilerinin, DOC 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 DOC 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.doc"))
{
	redactor.Apply(new RegexRedaction("\\d{2}\\s*\\d{2}[^\\d]*\\d{6}", new ReplacementOptions(System.Drawing.Color.Blue)));
	redactor.Save();
}

DOC Tr Live Demo

Checkout the free online demo for DOC Tr.

No need to set up

No need to write any code

Just upload the source file

Get the download link

What is DOC File Format?

Files with .doc extension represent documents generated by Microsoft Word or other word processing documents in binary file format. The extension was initially used for plain text documentation on several different operating systems. It can contain several different types of data such as images, formatted as well as plain text, graphs, charts, embedded objects, links, pages, page formatting, print settings and a lot others.

Read More

Other Tr Options

CSV Tr

(Comma Seperated Values)

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