The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
hello, I'm a newbie. Anyone can help me?
I have a problem with array. $a=array("Dog","www.mydomain.com","Horse"); How to find www.mydomain.com with Regular expression and remove it. then rebuild a new arry without "www.mydomain.com". i know how to make a Regular expression. |
|
#2
|
||||
|
||||
|
No need to use "intensive" regex functions.
PHP Code:
|
|
#3
|
|||
|
|||
|
thank you
but if my array is: PHP Code:
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|