Regex
3 tutorials and guides tagged Regex on IT Wonder Lab, with step-by-step examples and code you can run.
- Terraform & OpenTofu Tutorials
Regex in Terraform, Ansible and Prometheus: Functions, Filters and Matchers
Use regular expressions in Terraform regex(), regexall() and replace(), in variable validation, in Ansible regex_search and lineinfile, and in Prometheus label matchers.
- Concepts and Practices
Regular Expressions (Regex)
A regular expression is a pattern that matches text. It is used to search, validate and replace text in code, command line tools and infrastructure files.
- DevOps Tutorials
Regular Expressions Tutorial with Examples: grep, sed, Python and Cheat Sheet
Learn regex from zero with runnable examples: character classes, quantifiers, groups, anchors, greedy vs lazy matching, and patterns for IPs, versions, ARNs and logs.