need absolute regex expert in php
$30-250 USD
Paid on delivery
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: #17050481
About the project
10 freelancers are bidding on average $132 for this job
HI, sir. I have read your description. I am a php expert. I have enough experience of html/css and php regex. If you award me, I can do it successfully. Thank you.
regex expert Hi, i'm interested, i can help you i can to make these regexp's let me know if you are interested regards
I got it.... I've built many programs with regex. I can do it.... DM me for more details .
Hi I understand your requirements regarding Web. I am professionals BTech IT engineer. I am providing the every kind of service related to Web sites and server management. I have 5 years experience in Web developme More
Regex expert. Hi, I believe i can help you this task. I already wrote the regex as well as PHP code, I can send it to you immediately. Please contact me if you still looking for someone. Thanks good look.