Understanding UNIX and Linux Regular expressions (regex)
Trust me, if you know regex very well you are a UNIX guru. Regex is nothing but a string that is used to describe or match a set of strings, according to certain syntax rules.
Many new user think that learning to use regex is difficult, but if you know the fundas (read as basics) it is actually quite easy. Remember you can use regex not just under UNIX but also under PHP, Perl, VB.NET and many other modern programming languages.
This article offers some good introduction for finding and manipulating text using regex:
Virtually all non-trivial problems require you to filter good data from bad. Discover the many UNIX(R) command line utilities that use regular expressions to discern the relevant from the irrelevant.
=> Speaking UNIX, Part 9: Regular expressions
You may also be interested in other helpful articles:
- Tutorial: How to use filters and regular expressions using grep, sed, and awk
- Happy 20th Birthday Perl!
- Howto Linux rename multiple files at a shell prompt
- Find out if file exists with conditional expressions
- Learning and Mastering the Linux VI / VIM editor
Leave a Reply
We encourage your comments, and suggestions. But please stay on topic, be polite, and avoid spam. Thank you very much for stopping by our site!



Recent Comments
Today ~ 15 Comments
Yesterday ~ 15 Comments
Yesterday ~ 4 Comments
Yesterday ~ 6 Comments
Yesterday ~ 21 Comments