Quick RegExp question ...

Any questions involving matching text strings to patterns - the pattern is called a "regular expression."

Moderator: General Moderators

Locked
mzfp2
Forum Contributor
Posts: 137
Joined: Mon Nov 11, 2002 9:44 am
Location: UK
Contact:

Quick RegExp question ...

Post by mzfp2 »

Hi,

hope somebody can help me with this quick regular expression help I need with my PHP script.

I simply need to remove the following from any string

Page=xx

Where xx is a number between 0 and 999 (number of digits vary)

I dont have a clue how to use reg exp with php, so a code snippet would be great!

Many Thanks
Muz
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Post by John Cartwright »

Do not cross post. Locked.
Locked