Regex

Published: October 14, 2020

Regex cheatsheet


This cheatsheet is a small collection of handy snippets for quick reference in tricky situations. Feel free to suggest edits, propose additions, complain about something, disagree with content or such and the like. Every feedback is a welcome one.

Use in text editors

Regular expressions can be used for lookups on text editors.

Find and highlight the entire line

.*something.* Works in KWrite, Kate, Notepad++, Atom, and more.


Christoffer Lybekk

Developer under development

Explore more articles with similar tags

regexCheatsheet

Article stats


28words

4sentences

4paragraphs

1 minread time