Pattern
/[ \t]+$/
Sample text
clean line dirty line tabsTest this pattern in the editor
Find spaces/tabs at end of lines.
/[ \t]+$/
clean line dirty line tabsTest this pattern in the editor
Capture local and domain parts from common email shapes.
Match HH:MM or HH:MM:SS clock times.
kebab-case slugs for routes and CMS paths.
5-digit ZIP or ZIP+4.
Six-digit Russian postal index.
Dollar amounts with optional thousands and cents.