Blog

Guides to working with text

Practical guides to reversing text, Unicode characters, cleanup, counting and common encodings. Each guide explains a real task, shows an example and links to a tool you can try.

ISO 8601 date and time notation

How ISO 8601 date and time notation works, what converting to it changes, and when plain-text dates are a better fit than the ISO format.

Editing and revising document text

How word-level comparison shows what changed between document revisions, what it misses, and when a plain-text record of edits is the safer choice.

Convert XML to JSON with Nokogiri

How XML-to-JSON conversion with Nokogiri works, what it keeps and loses, and when to keep the original XML or plain text instead.

Format dates in Scriban templates

How Scriban date formatting works, what it changes in your output, and how to keep formatted dates readable, unambiguous and accessible for US and international readers.

Closed quotes

What closing quotation marks are, how smart and straight closing quotes differ, and whether converting between them keeps your text readable and usable.

Regex Assertions Explained and Tested

How regex assertions such as anchors, word boundaries, lookahead and lookbehind work, what they change in find-and-replace, and where they break across engines.