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.

How to convert afghanistan date

A practical guide to converting Afghan dates between the Solar Hijri, Lunar Hijri and Gregorian calendars, covering digits, text direction and copy-paste problems.

Find the Unicode code point for 1

The digit 1 is U+0031 DIGIT ONE. Learn how to confirm it, how to tell it apart from styled and lookalike ones, and when a plain 1 is the safer choice.

Regex exactly once

How to make a regex match something exactly once: why {1} isn't enough, patterns with and without lookahead, Unicode pitfalls, engine limits, and when plain code is better.

Half Star Unicode Characters

Which Unicode code points draw a half star, how they differ from CSS half stars and icon fonts, and when a plain-text rating like 4.5 out of 5 works better.

How to Write a Date of Birth in Words

Write a date of birth in words in US format, from the common written form to fully spelled-out and formal versions, with examples and a way to check the result.