Write a small string parser in PHP


we have text areas that contains text like this:

It is 1 hour work.


[[login to view URL]{[login to view URL]}]

[fullname/sig./[login to view URL]{fullname}]


{cap} {city} {province}


We need a small PHP function that can parse a string like this and replace all placeholders with actual data.

Strings like this "[VAT/PIVA {VAT}]", means that if VAT is not defined, the part after the / must not be present in the final document.

Taidot: Algoritmi, PHP, Regular Expressions, tietojärjestelmäarkkitehtuuri

Näytä lisää: small webpage editor php, csv parser php mysql, vbnet xml string parser, vbnet write ascii string, wikitext parser php, pop mail parser php, small projects using php, myspace friends parser php, google results parser php, seo url parser php, small application using php, xml formular parser php, html table parser php, search string parser php

Tietoa työnantajasta:
( 80 arvostelua ) Sansepolcro, Italy

Projektin tunnus: #19954807

22 freelanceria on tarjonnut keskimäärin %project_bid_stats_avg_sub_26% %project_currencyDetails_sign_sub_27% tähän työhön


Hi, I am very interested in your project and I have already enough experiences in projects like this. I have developed many kinds of php tasks for 10 years. I have checked your requirement in detail and I am sure I c Lisää

€40 EUR 1 päivässä
(843 arvostelua)

Hi There, I am very good in PHP also in regular expression. can do this projects quickly. Looking forward to discuss more in detail Thank You

€41 EUR 1 päivässä
(1063 arvostelua)

Hello, I read your requirement carefully and bid here. I can do parse work in your PHP script in a few hours. As you can see my profile, I am a professional PHP developer. And I worked as a freelancer more than 8 Lisää

€34 EUR 2 päivässä
(224 arvostelua)

Hello hiring member i am bhavika i have 3+years experience in php, laravel ,ajax , jquery , javascript , html ,css , bootstrap so i can do it and i have done many logic and functionality so i can do it so please give m Lisää

€30 EUR 1 päivässä
(123 arvostelua)

Hi ! I have a detail look to your project, I'm sure I can complete your project. I am on freelancer all day and I will implement all things you want perfectly. Please let's discuss details requirements. I will do my be Lisää

€50 EUR 1 päivässä
(62 arvostelua)

Dear Client, Greetings!! I am glad to submit a proposal for your Project. I have been engaged with Web Development and Web Designing. I have gone through your requirements and I would like to work on your proj Lisää

€41 EUR 10 päivässä
(89 arvostelua)

Need Web Development or Business Growing? My experiences range from building responsive software design that work well cross-browser to Business Goal. I am glad to provide full solution to you. We Are in House of Web Lisää

€50 EUR 1 päivässä
(43 arvostelua)

Hi, I've done this type of work before in which I wrote a script in Python which replaces placeholders in LaTeX templates using information retrieved from database. I can write a function for you in PHP that will repla Lisää

€25 EUR 2 päivässä
(34 arvostelua)

Expert developer. Expert developer. Expert developer. Expert developer. Expert developer. Expert developer.

€25 EUR 2 päivässä
(44 arvostelua)

Hello, how are you? Thank you for your opportunity to bid on the project. I have developed web sites for five years, including web scraps, shopping sites, business web apps, and web API integration. So, I can help y Lisää

€41 EUR 10 päivässä
(10 arvostelua)

Hi I have reviewed your web project description. So I am confidence your web project. PHP String Processing is very interesting and confidence for me. I think we can deal with your project. I am experienced and sk Lisää

€40 EUR 0 päivässä
(25 arvostelua)

Hi, I'm very happy to have a chance to send a proposal. I have read carefully the descriptions and understood clearly what you want. I've many experiences in web developing. if you need to see my past works, I can show Lisää

€50 EUR 1 päivässä
(11 arvostelua)

Hi, Dear client. Here are my another web development experience. - [login to view URL] (jQuery, Laravel) - [login to view URL] (Angularjs, Bootstrap, NodeJS) - [login to view URL] Lisää

€44 EUR 10 päivässä
(4 arvostelua)

Yes sir I read the instructions. I am best for the job. Already working on similar projects. Please contact me on chat. I will do it for you. How much time do you have. Please let me know if more details on chat. Alrea Lisää

€90 EUR 7 päivässä
(13 arvostelua)

Hi there I can do this job as i am professional developer and have 3+ years experience in web development. Lets start chat for further discussion about the project. Regards Adnan Bin Atta

€25 EUR 3 päivässä
(6 arvostelua)

Hi, I propose 1 hour long delivery for this task Please message for details Thanks

€90 EUR 1 päivässä
(13 arvostelua)

Hi there, good to see you. i completely read your requirements and i can build this. this is a simple web will build on your minimum budget Lets start chat for further discussion. Regards Zeeshan Haider

€25 EUR 1 päivässä
(6 arvostelua)

hello, my name is Kabir Lovero and I am an experienced developer. I can write your code for you , and also give you the explanation for the code so that you can reuse it in the future. Please send me a message so that Lisää

€25 EUR 7 päivässä
(2 arvostelua)

Hello, I hope work with you because my skill set is very suitable to your Job and i can start now. I have been very sure that I can provide you the perfect result of it. As a professional web developer, I can compl Lisää

€41 EUR 10 päivässä
(2 arvostelua)

Hi There! * I'm ready to create the php string parser as described in just 1 day (ideally it will take at most 3 hours). * it will be function that can parse a string as in the provided examples and replace all Lisää

€60 EUR 1 päivässä
(1 arvostelu)