How to extract a word using regex in php?
Posted
by Lost_in_code
on Stack Overflow
See other posts from Stack Overflow
or by Lost_in_code
Published on 2010-03-27T20:05:46Z
Indexed on
2010/03/27
20:13 UTC
Read the original article
Hit count: 103
How do I extract foo from the following URL and store it in a varialbe, using regex in php?
http://example.com/pages/foo/inside.php
I googled quite a bit for an answer but most regex examples were too complex for me to understand.
© Stack Overflow or respective owner