General discussions about Advanced Find and Replace
-
Anton V. Dyshlyuk
- Posts: 2
- Joined: Fri Apr 01, 2005 4:44 am
Post
by Anton V. Dyshlyuk »

Hello! Could anybody tell me how to search the following text fragment: "go * * walk" where * means just a word of any length.
I guess it's easy but I got a bit puzzled at regular expression syntax.
Thanks!
-
Abacre
- Site Admin
- Posts: 1223
- Joined: Mon Jan 31, 2005 5:32 pm
Post
by Abacre »
Hi Anton,
In your case you may use, for example,
\w
it's alphanumeric char.
So the final expression for you will be:
Search for:
go \w+ \w+ walk
Where \w+ means one or more alphanumeric chars.
Read more about regular expressions syntax:
http://www.abacre.com/afr/manual/regexpsyntax.htm
-
Anton V. Dyshlyuk
- Posts: 2
- Joined: Fri Apr 01, 2005 4:44 am
Post
by Anton V. Dyshlyuk »
Many thanks!!! That's pretty easy when you know the answer!
I should have guessed myself.
