Replace After Patter

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, MudGuard

Post Reply
rajeshatbuzz
Posts: 4
Joined: Mon Aug 30, 2010 7:52 pm
Contact:

Replace After Patter

Post by rajeshatbuzz »

Hi,

for example i have following email addres.. What I want is:

hrd@nanavatihospital.org
ajeh@vsnl.com
info@spec.om



Requirement: All the content which is before @ should be appended in each line with one more space

Some thing like ......................
hrd hrd@nanavatihospital.org
ajeh ajeh@vsnl.com
info info@spec.om


Any help on this
Build and Release Engineer
scmGalaxy.com
ben_josephs
Posts: 2464
Joined: Sun Mar 02, 2003 9:22 pm

Post by ben_josephs »

Find what: ^([^@]+)@
Replace with: \1 \1@

[X] Regular expression

Replace All
This assumes you are using Posix regular expression syntax:
Configure | Preferences | Editor

[X] Use POSIX regular expression syntax
rajeshatbuzz
Posts: 4
Joined: Mon Aug 30, 2010 7:52 pm
Contact:

Post by rajeshatbuzz »

Thanks..

This worked
Build and Release Engineer
scmGalaxy.com
Post Reply