[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Extended search (regular expressions)

How do I do a query-replace using regular expressions?

For example, let's say I want to replace the string foo<anything>bar
with bar<anything>foo, where <anything> is meant to be a regular
expression. How do I invoke extended search in the query, and how do I
denote the regular expression in the replacement string?