Search and replace function

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
notbob
Posts: 10
Joined: Sat Oct 15, 2005 6:36 am

Search and replace function

Post by notbob »

I am using the search => replace function.

In the field "find what", I have @
In the field "replace with", I have a blank space

When I click replace all, I get the error message Cannot find regular expression '@'

Could someone advise how to get around this? I also get the same message when I search for other characters such as # , &

Thank you
User avatar
Bob Hansen
Posts: 1516
Joined: Sun Mar 02, 2003 8:15 pm
Location: Salem, NH
Contact:

Post by Bob Hansen »

Make sure you are not double clicking to Replace All.

The first click will replace all of the @, and the second one will return the message you describe if you have check in the Regular Expressions box.
Hope this was helpful.............good luck,
Bob
User avatar
MudGuard
Posts: 1295
Joined: Sun Mar 02, 2003 10:15 pm
Location: Munich, Germany
Contact:

Post by MudGuard »

Also, if you do have a simple replace which does not use a regular expression, un-check the "Regular Expression" checkbox.
Post Reply