pillmill
asked on
convert sed to preg_match?
How do I convert an sed expression into a php preg_match search?
The sed search is: sed -n "s/.*name='\([^']*\).*/\1/ p"
I need to do the equivalent with php using preg_match or a similar function.
The sed search is: sed -n "s/.*name='\([^']*\).*/\1/
I need to do the equivalent with php using preg_match or a similar function.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Open in new window