I'd like to know what these are called or whatever...
example?
that's supposed to change text to a link or something...hmm...i'm confused...anyone know where I can learn how to use them? (By them I'm reffering to the '(((f|ht){1}tp://)[-a-zA-Z0-9@:%_\+.~#?&//=]+)P' )
erm thanks in advance...
example?
| Code: |
| $str = eregi_replace('(((f|ht){1}tp://)[-a-zA-Z0-9@:%_\+.~#?&//=]+)', '<a href="\\1" target="_blank">\\1</a>', $str); |
that's supposed to change text to a link or something...hmm...i'm confused...anyone know where I can learn how to use them? (By them I'm reffering to the '(((f|ht){1}tp://)[-a-zA-Z0-9@:%_\+.~#?&//=]+)P' )
erm thanks in advance...
