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.

Full Name Validation with Regex in Java

How a Unicode-aware Java regex for full names works, what normalization changes, where ASCII patterns reject real people, and when plain-text acceptance is the better choice.

Stringify JSON in JavaScript and Node.js

How JSON.stringify turns JavaScript values into JSON text, what it drops or rejects, how to pretty-print, and how to print objects in Node.js and browsers.

Should You Put Spaces Around a Hyphen?

When a hyphen takes spaces, when it shouldn't, and how hyphens, en dashes and em dashes behave in style rules, copy/paste, search and screen readers.

Creative ways to write a date

Fancy ways to write the date compared by what they actually change, how they copy and paste, and when plain text is the safer choice for readability and accessibility.