Hi
I am working on a program and I need to convert the following expression in preg_match
I tried the following code, please check if it is correctCode:ereg("<(/?[[:alpha:]]*)[[:space:]]*([^>]*)>",$str,$reg)
It is giving me an error. Any one any solve the error for me. Please help.Code:preg_match("/<(/?[[:alpha:]]*)[[:space:]]*([^>]*)>/",$str,$reg)
Bookmarks