help-gnu-emacs
[Top][All Lists]
Advanced

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

Reg-exp


From: J. Thomas
Subject: Reg-exp
Date: Thu, 22 Aug 2002 14:08:21 -0700 (PDT)

I'm interested in doing a query search and replace for a regular
expression that goes something like this:

1. find a particular string (e.g. "test") followed by any 3 random

   characters or numbers (e.g. "test100", "test234", "test_al")

2. replace an occurence with the random 3 characters/numbers followed by

   "test" (e.g. "100test", "234test", "_altest).


How would I go about doing this?

Thanks,
jt



- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Jason Thomas
Graduate Student
Dept. of Sociology
University of Washington, Seattle
method@u.washington.edu
http://students.washington.edu/~method






reply via email to

[Prev in Thread] Current Thread [Next in Thread]