Understanding UNIX and Linux Regular expressions (regex)

by on May 7, 2007 · 0 comments· LAST UPDATED May 7, 2007

in , ,

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



If you would like to be kept up to date with our posts, you can follow us on Twitter, Facebook, Google+, or even by subscribing to our RSS Feed.


{ 0 comments… add one now }

Leave a Comment

You can use these HTML tags and attributes for your code and commands: <strong> <em> <ol> <li> <u> <ul> <blockquote> <pre> <a href="" title="">
What is 11 + 3 ?
Please leave these two fields as-is:
Solve the simple math so we know that you are a human and not a bot.

Previous post:

Next post: