COMPUTER ENGINEER

Back to all projects
PROJECT / DATA TOOLS

Text Studio

Extract data from messy text, clean it, anonymise it and test regex live. A sign-up-free text studio that runs in your browser.

Maintained Last updated:
Text Studio cover image
01 / WHY?

The purpose.

Give people who do not know regex the power to clean text and extract data, and give those who do a fast, safe lab.

02 / WHAT DOES IT OFFER?

Key features.

  • Extraction of 12 data kinds (validated) with list, CSV and JSON output
  • Over 30 cleaning operations and 7 ready-made recipes
  • Reorderable cleaning pipeline and advanced find and replace (\U \L \u templates)
  • Partial, tag or block masking
  • Regex Lab with live highlighting, piece by piece explanation and test cases
  • JavaScript, Python and C# code generation
03 / BEHIND THE SCENES

Challenges and solutions.

Challenges I faced

User regex can lock up a page, Turkish letter rules (i/I) break in default functions, and random digits resembling phone or ID numbers create false positives.

How I solved them

User patterns run in a Web Worker with a hard timeout; built-in patterns are linear-time and tested on adversarial input. Case operations use the tr-TR locale. IBAN mod-97, the Turkish ID algorithm and Luhn validate candidates.

Back to all projects