Hey, guys. Sorry, if this sound like a stupid question to you, but I am really not good with regular expressions. I want to match full number, slash and 900000. So, the pattern is: [number]/[slash][any_umber or exactly 900000] Igoogled for a while, and tried this: $regex = '#[0-9]/[0-9]#'; However, it doesn't work as I want. Please help!