delete any chatacter from the text other than [az@.-_]+[09]

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, MudGuard

Post Reply
civali
Posts: 1
Joined: Thu Sep 30, 2010 3:12 pm
Location: Brazil

delete any chatacter from the text other than [az@.-_]+[09]

Post by civali »

I wanted to delete any character from a text other than [azAZ]+[09]+[-_@]. In other words, remain on the text only emails form expression.
How to do that?
Tks.
L. Civali
ben_josephs
Posts: 2464
Joined: Sun Mar 02, 2003 9:22 pm

Post by ben_josephs »

Find what: [^a-z0-9_@-]
Replace with: [nothing]

[X] Regular expression

Replace All
The - must be either the last character in the [...] expression or the first character after the ^.
Post Reply