PHP function to find a url in a string, and return the first occurence of a url
- or -
Post a project like this1907
£10(approx. $13)
- Posted:
- Proposals: 4
- Remote
- #2259725
- Awarded
Description
Experience Level: Entry
Estimated project duration: 1 day or less
We are using an import tool, that allows us to write functions that can be applied to values from an XML file.
At the moment our xml file has multiple instances of image url's, but we wish to return a value of only a url that contains a specific word.
We have a regex expresion, in a foreach loop but dont seem to be getting the required result.
We need someone to look at our script and modify it, its a 20 line script so nothing heavy.
At the moment our xml file has multiple instances of image url's, but we wish to return a value of only a url that contains a specific word.
We have a regex expresion, in a foreach loop but dont seem to be getting the required result.
We need someone to look at our script and modify it, its a 20 line script so nothing heavy.
Jason H.
100% (14)Projects Completed
15
Freelancers worked with
15
Projects awarded
34%
Last project
15 Dec 2021
United Kingdom
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
There are no clarification messages.
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies