Python Line of Code Help


I am trying to extract the full name,first name and last name from an email.

The data comes in as follows:

| Name | Diana Yu |

What gets extracted from this is:

fullname: Name | Diana Yu |

firstN: Name

lastN: | Diana Yu |

The code is:

code: import string

import re

weblead = input_data['webleads_body']

value = [login to view URL]('\n', 26)

regex= [login to view URL](".*(Name).*")

name = [[login to view URL](0) for l in value for m in [[login to view URL](l)] if m]

fullname = name[0]

fullname = [login to view URL](' ', 1)[1]

fullname = [login to view URL]()

firstN = [login to view URL](' ', 1)[0]

firstN = [login to view URL]()

lastN = [login to view URL](' ', 1)[1]

lastN = [login to view URL]()

Beceriler: Python

Daha fazlasını gör: zip code help, asp code help fix, adengage code help, javascript code change color input field, mips code ask user input numbers multiplied, code help metatrader, java code update database input entered using netbeans, code help wordpress, ipod app code help, myspace css code help band, adp line support help, program function code positive integer input returns leading digit, vba code add web page message body, clothing line logo help, source code help desk project java, python college project code help, python code help, free python code help, online python code help

İşveren Hakkında:
( 0 değerlendirme ) Calgary, Canada

Proje NO: #23961354



hi there! i've been using python for over three years. and your task is to split the string. i mean, you can just use split() function to split the string. ^_^ for example. code: full_name='Name | Diana Yu |' first_nam Daha Fazla

$2 CAD / saat
(0 Değerlendirme)

Bu iş için 6 freelancer ortalamada $5/saat teklif veriyor


hi can you share the file and code I can help you with your project thanks.................................

$2 CAD / saat
(3 Değerlendirme)

Hello, I am a computer science grad (Master's degree) and a Java/Python expert with 5 years experience. I understand your project description and I can confidently help you with your task. I have a track record of Daha Fazla

$10 CAD / saat
(2 Değerlendirme)

hi i am python programmer.i did work similar to yours before in web scraping(clean data) .i can do your work [login to view URL] me for more information and check me profile. have a nice day

$2 CAD / saat
(0 Değerlendirme)

Hi, sir. Nice to meet you. I read your project description carefully and I have understood fully your requirements. I am professional in Python and have many experiences for 5+ years. So I'm very interested in your pro Daha Fazla

$8 CAD / saat
(0 Değerlendirme)

Dear Client. Are you looking for a top talented developer? You are at the right place. I am very interested in your project and wish to work with you. I promise trust and work delivery keeping in mind your requirement Daha Fazla

$5 CAD / saat
(0 Değerlendirme)