Find Jobs
Hire Freelancers

need regex expert

min kr320 SEK / hour

Closed
Posted almost 6 years ago

min kr320 SEK / hour

I need regex expert to help me format some html/css code that's stored inside a string variable. Language to do this in is php, but I just need working regex and you can use any of regex websites to format the below code, as long as I can use the regex you produce inside my php code its going to get approved. css code could look like this .text-4 { font-size: ; margin: 0px 0px 15px 0px; padding: 0px; width: 100%; } .text-4:hover { } .text-4:active { } .headline-5 { margin: 0px 0px 15px 0px; padding: 0px; font-family: ""; } .headline-5:hover { } .headline-5:active { } after regex operations we have to endup with clean and beautified css like this .text-4 { margin: 0px 0px 15px 0px; padding: 0px; width: 100%; } .headline-5 { margin: 0px 0px 15px 0px; padding: 0px; } empty classes must be removed, so regex will remove stuff like this: .headline-5:hover { } .headline-5:active { } if its empty between { } it will remove stuff like: font-family: ""; based on a rule that checks if there is a : ""; then that css variable is removed same for next one font-size: ; if it finds css-var: ; it should remove it. Who is absolute expert at php regex? I need you to help me beautify and clean up some css code produced on the fly by the php app I am working with. Cleaning and beatufiying can be done in stages, for example .headline-5 { margin: 0px 0px 15px 0px; padding: 0px; font-family: ""; } 1 stage would get us this .headline-5 { margin: 0px 0px 15px 0px; padding: 0px; font-family: ""; } Start your message to me with regex expert or else you will get ignored since you did not read anything... then in stage 2 we clean it up and remove the line where it has : ""; which basically means its invalid css, so lets remove it... .headline-5 { margin: 0px 0px 15px 0px; padding: 0px; } Whoever is good at regex, this should be 30 minute job and pay is 100$ with possible future collaborations as well since I would like to have regex expert on hand when I need him.
Project ID: 17050285

About the project

13 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
13 freelancers are bidding on average kr399 SEK/hour for this job
User Avatar
regex expert Try this below code and see it iwll work like you need on Stage 1 Please hire me or discuss with me so i can finish it in $100 as i bid that for you. $subject='.headline-5 { margin: 0px 0px 15px 0px; padding: 0px; font-family: ""; }'; $var='; padding'; $newstring = preg_replace($var,"\n\r",$subject);
kr1,000 SEK in 40 days
4.9 (343 reviews)
7.6
7.6
User Avatar
regex expert. Hi, I'm ready to help you on this project starting right now and finish ASAP. I can work on my own environment then send you the code or you can provide me the ftp access. thank you.
kr355 SEK in 20 days
4.8 (104 reviews)
6.9
6.9
User Avatar
regex expert if you are interested please feel free to contact me on chat to discuss farther details
kr320 SEK in 40 days
5.0 (18 reviews)
3.8
3.8
User Avatar
Regex expert. I have read the requirements in full. Please send me the code. i can do it within few hours. The $100 sounds fine. I have more than 10 years of experience in data parsing and extraction. Please message me to discuss the details. Regards.
kr355 SEK in 40 days
5.0 (8 reviews)
3.1
3.1
User Avatar
I am a professional web developer with major expertise in PHP development, including all its major frameworks CakePHP, Laravel, Codeignitor and others. I have also vast proficiency in WordPress development including its custom theme development and code customization. I have immense experience in developing ecommerce web application based on Magento, WordPress, Shopify and others. So I am willing to work on your project, as I have all the required expertise to complete your described project on time, and will give you the best market oriented web solution which you have desired for.
kr355 SEK in 40 days
5.0 (9 reviews)
2.2
2.2

About the client

Flag of SWEDEN
Arlöv, Sweden
5.0
1
Payment method verified
Member since Apr 5, 2018

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) & Freelancer Online India Private Limited (CIN U93000HR2011FTC043854)
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.