Suoritettu

Python Line of Code Help

Hello,

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]()

Taidot: Python

Näytä lisää: 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

Tietoa työnantajasta:
( 0 arvostelua ) Calgary, Canada

Projektin tunnus: #23961354

Myönnetty käyttäjälle:

zackyin

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 Lisää

$2 CAD / tunti
(0 Arvostelua)
0.0

6 freelanceria on tarjonnut keskimäärin %project_bid_stats_avg_sub_18% %project_currencyDetails_sign_sub_19%/tunti tähän työhön

Alihamzamaitla

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

$2 CAD / tunti
(3 arvostelua)
2.1
femisorinolu

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 Lisää

$10 CAD / tunti
(2 arvostelua)
1.9
AmalMohammed1

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 / tunti
(0 arvostelua)
0.0
olegprokopiv39

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 Lisää

$8 CAD / tunti
(0 arvostelua)
0.0
JoseCruzLira86

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 Lisää

$5 CAD / tunti
(0 arvostelua)
0.0