Find Jobs
Hire Freelancers

I need javascript regular expression expert.

$10-30 USD

Completed
Posted about 5 years ago

$10-30 USD

Paid on delivery
Text format is <h:mm> <keyword> <keyword> <h:m> Examples: 1:00 XXX XXX 1.00 XXX XXX 100 XXX XXX 13:00 XXX XXX 1300 XXX XXX XXX XXX 1:00 XXX XXX 100 XXX means any asci strings with any length including space And the hour can be 1 or 2 length and the minutes has 2 length always. The colon and comma can be used to split hour and minute and the hour and minute can be merged without any split symbol. The goal is to get time string and keyword This is the example of regex which I want. /^(?<key1>.+)(?<time1>\d{1:2}[:.]?\d{2})$|^(?<time2>\d{1:2}[:.]?\d{2})(?<key2>.+)$/g Thanks
Project ID: 18828262

About the project

2 proposals
Remote project
Active 5 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
Hello, i believe i can help you. I've done many regex projects without a single problem. And i believe i have a solution for you. If you are interested in working with me, please message me and i will try to help immediately. Thanks, Milan
$25 USD in 0 day
5.0 (244 reviews)
6.4
6.4

About the client

Flag of CHINA
Dalian, China
5.0
6
Member since Mar 5, 2014

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.