Topic awaiting preservation: regexp help please. (Page 1 of 1) |
|
---|---|
Paranoid (IV) Mad Scientist From: Omicron Persei 8 |
posted 10-13-2002 16:04 |
Maniac (V) Mad Scientist From: Belgrade, Serbia |
posted 10-13-2002 18:06 |
Paranoid (IV) Mad Scientist From: Omicron Persei 8 |
posted 10-13-2002 18:15 |
Paranoid (IV) Mad Scientist From: Omicron Persei 8 |
posted 10-14-2002 15:26 |
Maniac (V) Mad Scientist with Finglongers From: Cell 53, East Wing |
posted 10-14-2002 15:46 |
Paranoid (IV) Mad Scientist From: Omicron Persei 8 |
posted 10-14-2002 16:16
it worked! thanks! |
Maniac (V) Mad Scientist with Finglongers From: Cell 53, East Wing |
posted 10-14-2002 18:25
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 |
posted 10-14-2002 19:02
wow. that's interesting too. |
Maniac (V) Mad Scientist with Finglongers From: Cell 53, East Wing |
posted 10-14-2002 20:23
GRUMBLE: I'm glad it helped code: if (preg_match ("/\bde\b/i", $url_path)) {
|
Maniac (V) Mad Scientist From: Belgrade, Serbia |
posted 10-15-2002 13:59
The following code is much more effective than using explode()... |