![]() Topic awaiting preservation: regexp help please. (Page 1 of 1) |
|
---|---|
Paranoid (IV) Mad Scientist From: Omicron Persei 8 |
![]() |
Maniac (V) Mad Scientist From: Belgrade, Serbia |
![]() |
Paranoid (IV) Mad Scientist From: Omicron Persei 8 |
![]() |
Paranoid (IV) Mad Scientist From: Omicron Persei 8 |
![]() |
Maniac (V) Mad Scientist with Finglongers From: Cell 53, East Wing |
![]() |
Paranoid (IV) Mad Scientist From: Omicron Persei 8 |
![]() it worked! thanks! |
Maniac (V) Mad Scientist with Finglongers From: Cell 53, East Wing |
![]() OK cool - if people are going to be doing a lot splitting and playing with URLs they might be interested in this function: |
Paranoid (IV) Mad Scientist From: Omicron Persei 8 |
![]() wow. that's interesting too. |
Maniac (V) Mad Scientist with Finglongers From: Cell 53, East Wing |
![]() GRUMBLE: I'm glad it helped code: if (preg_match ("/\bde\b/i", $url_path)) {
|
Maniac (V) Mad Scientist From: Belgrade, Serbia |
![]() The following code is much more effective than using explode()... |