Find Jobs
Hire Freelancers

Python 2.7 small code snippet and regex required

$10 USD

Completed
Posted about 6 years ago

$10 USD

Paid on delivery
Hi, I have a simple job that should take a good programmer only a few minutes. The code will be used in Zapier and must be working in order to be considered delivered/complete. Zapier uses Python 2.7 PART 1: The string is in one of the following formats (INPUT): 2 1 adult 2 adults 1 adult, 1 child 2 adults, 1 child 1 adult, 2 children 2 adults, 2 children 1 adult, 1 child, 1 infant 1 adult, 1 child, 2 infants 1 adult, 2 children, 1 infant 1 adult, 2 children, 2 infants 2 adults, 1 child, 1 infant 2 adults, 1 child, 2 infants 2 adults, 2 children, 1 infant 2 adults, 2 children, 2 infants The format of the result string needs to be in the following format (OUTPUT): 1,1,1 Examples: INPUT => OUTPUT 2 adults, 1 child, 1 infant => 2,1,1 2 adults, 2 children => 2,2,0 2 adults, 1 infant => 2,0,1 2 => 2,0,0 PART 2: I need 3 Python Regular Expressions to extract the OUTPUT from part 1: INPUT: 2,3,1 OUTPUT: Regex 1 => 2 Regex 2 => 3 Regex 3 => 1 Only bid if you can do both PART 1 and PART 2. I am looking for this to be done very quickly. Max budget is 5USD.
Project ID: 16537922

About the project

3 proposals
Remote project
Active 6 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
I can get that done for you quickly! Just select my bid and you will get your script deliver fast...
$10 USD in 0 day
5.0 (5 reviews)
4.0
4.0
3 freelancers are bidding on average $12 USD for this job
User Avatar
I am a python developer having 6 + experience in IT industry. I am expert in: * Python, Web Development (Django, Flask) * CSS, HTML5, Javascript, AJAX, JQuery, Bootstrap * REST API application development * Database Programming (MySQL, Sqlite, MongoDb, PostgreSQL) [with SqlAlchemy] * Web Scrapping, Selenium, Data Science * XML & JSON Parsing, Regular expressions * Network programming(protocols - HTTP, FTP, SSH,TCP etc.) * Payment gateway integration like PayPal(BrainTree) and Stripe * Platforms - Linux/Windows
$11 USD in 10 days
5.0 (97 reviews)
6.6
6.6

About the client

Flag of AUSTRALIA
Ormond, Australia
5.0
3
Payment method verified
Member since Nov 3, 2012

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.