LazyCylindric Posted November 29, 2016 Share Posted November 29, 2016 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! 1 Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.