Regular expressions, sometimes referred to as regex, grep, or pattern matching, can be a very powerful tool and a tremendous time-saver with a broad range of application. As an extended form of find-and-replace, you can use a regular expression to do things such as perform client-side validation of email addresses and phone numbers, search multiple documents for strings and patterns you wish to change or remove, or extract a list of links from source code. Regex is supported by most languages and tools, but because there can be varying implementations, this article will cover basic principles that are commonly used.
Spruck, Chris. evolt (2005). Articles>Editing>Search>Regular Expressions
InDesign CS3: Search Using GREP Expressions 
On the GREP tab of the InDesign Find/Change dialog box, you can construct GREP expressions to find alphanumeric strings and patterns in long documents or many open documents. You can enter the GREP metacharacters manually or choose them from the Special Characters For Search list. GREP searches are case-sensitive by default.
Adobe (2006). Articles>Editing>Regular Expressions>Adobe InDesign
Regular Expressions - a Simple User Guide
There is no gentle beginning to regular expressions. You are either into hieroglyphics big time - in which case you will love this stuff - or you need to use them in which case a headache may be your only reward.
Zytrax (2009). Articles>Editing>Search>Regular Expressions
Speaking UNIX, Part 9: Regular Expressions
Virtually all non-trivial problems require you to filter good data from bad. Discover the many UNIX command line utilities that use regular expressions to discern the relevant from the irrelevant.
Streicher, Martin. IBM (2007). Articles>Editing>Regular Expressions>UNIX
There are 24 readers currently online: 1 registered user and 23 guests. Register.

![]()
![]()


![]()
![]()
![]()