DEV Community

Discussion on: I hated Regex so much that I made iHateRegex.io

Collapse
 
petermortensen profile image
Peter Mortensen • Edited

Regular expressions are extremely useful in (ad hoc) scripts and sometimes in search-replace operations in text editors (also for pure search to become more specific (fewer false positives)).

Typically one-off scripts to extract and output information from line-oriented input (even HTML). They don't need to be robust and are (usually) not maintained. They get the job done quickly and efficiently.