Using the power of regular expressions, one can parse and transform textual based documents and strings. This article is for advanced users, who are already familiar with basic regular expressions in Bash. For an introduction to Bash regular expressions, see our Bash regular expressions for beginners with examples article instead. Another article which you may find interesting is Regular Expressions in Python.
Ready to get started? Dive in and learn to use regexps like a pro!
In this tutorial you will learn:
- How to avoid small operating system differences from affecting your regular expressions
- How to avoid using too-generic regular expression search patters like
.*
- How to employ, or not employ, extended regular expression syntax
- Advanced usage examples of complex regular expressions in Bash