preg_replace regex nightmare! Simple expression or no?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Calipoop
Forum Newbie
Posts: 24
Joined: Fri Sep 17, 2004 6:06 pm
Location: Los Angeles, CA

Post by Calipoop »

I suspect there may be another underlying problem.
OH NO! I'll try it without the 1, and if it works I will just leave it out. I had put the 1 in there cause I only want one entry anyway, and the regex seemed to be deleting everything before and after... lemme check
Calipoop
Forum Newbie
Posts: 24
Joined: Fri Sep 17, 2004 6:06 pm
Location: Los Angeles, CA

Post by Calipoop »

Looks like it works without the 1.

Thanks again man, what a help you've been, you're a dream. (in a non-gay way) (not that there's anything wrong with that)
redmonkey
Forum Regular
Posts: 836
Joined: Thu Dec 18, 2003 3:58 pm

Post by redmonkey »

Amazing.
Post Reply