| | |
Extrace Pattern(E-mail ID) from text file
Thread Solved |
•
•
Join Date: Apr 2007
Posts: 34
Reputation:
Solved Threads: 0
Hi guys,
i need help extracting e-mail id from the text file
can anybody please tell me how can i extract e-mail id and store it in a vaiable using perl regex.
(e-mail id is not always bound to end with .com)
here is my text file:
******************************************
IQXpert 27(ID) John Dow 29(ID) 9999MainStreetSuite111 9999MainStreetSuite1111 Engineer Townsville California12345 Townsville California12345 first.lastname@domain.com UnitedStates UnitedStates Phone Phone555-123-4567 Fax Fax
********************************************
any help/suggestion is appreciated.
thnx.
i need help extracting e-mail id from the text file
can anybody please tell me how can i extract e-mail id and store it in a vaiable using perl regex.
(e-mail id is not always bound to end with .com)
here is my text file:
******************************************
IQXpert 27(ID) John Dow 29(ID) 9999MainStreetSuite111 9999MainStreetSuite1111 Engineer Townsville California12345 Townsville California12345 first.lastname@domain.com UnitedStates UnitedStates Phone Phone555-123-4567 Fax Fax
********************************************
any help/suggestion is appreciated.
thnx.
Last edited by stymiee; Jul 14th, 2007 at 1:32 am. Reason: personal info edited/changed
http://search.cpan.org/~miyagawa/Ema.../Email/Find.pm
You should remove that personal information from your post.
You should remove that personal information from your post.
•
•
Join Date: Apr 2008
Posts: 4
Reputation:
Solved Threads: 0
Hi,
Can you please tell me how the other way you did to extract some other patterns.
I need some assistance.
Actually, my problem statement is
Number of <<protein>> glucocorticoid receptors <</protein>> in <<cell_type>> lymphocytes <</cell_type>> and their sensitivity to hormone action .
From the above sentence I have to extract 3words before and after the biomedical term classification.
Let me show you an example
For protein, glucocorticoid receptors to this instance
beg1 = beg1
beg2 = Number
beg3 = of
end1 = in
end2 = lymphocytes
end3 = and
For cell_type, lymphocytes instance
beg1 = glucocorticoid
beg2 = receptors
beg3 = in
end1 = and
end2 = their
end3 = sensitivity
Hope you understand what I am talking about.
Please help me.
Looking forward for your reply.
Thanking you in advance
Can you please tell me how the other way you did to extract some other patterns.
I need some assistance.
Actually, my problem statement is
Number of <<protein>> glucocorticoid receptors <</protein>> in <<cell_type>> lymphocytes <</cell_type>> and their sensitivity to hormone action .
From the above sentence I have to extract 3words before and after the biomedical term classification.
Let me show you an example
For protein, glucocorticoid receptors to this instance
beg1 = beg1
beg2 = Number
beg3 = of
end1 = in
end2 = lymphocytes
end3 = and
For cell_type, lymphocytes instance
beg1 = glucocorticoid
beg2 = receptors
beg3 = in
end1 = and
end2 = their
end3 = sensitivity
Hope you understand what I am talking about.
Please help me.
Looking forward for your reply.
Thanking you in advance
![]() |
Similar Threads
- connect to text file database (Visual Basic 4 / 5 / 6)
- Trying to creating an array from a text file (C++)
- Store Bluetooth remote address to a text file (C++)
- 10 line text file (Java)
- Read and write to an ASCII Text file (Java)
Other Threads in the Perl Forum
- Previous Thread: csv file duplicate removal
- Next Thread: Question on Creating Hashes
| Thread Tools | Search this Thread |





