Looking for regular expression to satisfy the condition "url\('(.*)'\)" for the string. Any idea to parse url() from a string? Thanks in advance. Aim: To parse every css urls from an HTML string.
Thanks for the response. But the regex not working. Also parsing with regular expression takes too much load on my server. Is there any effective way to parse every desired elements from HTML plage? (Not as DOM elements. I need css properties also)
PHP.. Don't bother about this ... Now I managed to parse every thing without using Regular Expressions. Regular Expression parsing takes too much load and time. So i switched to normal search method to find unique texts on string.