Preg_match question


Posted on 16th Feb 2014 07:03 pm by admin

I want to use preg_match to make sure a string is always 6 characters long and only contains 0-9 and the letters A-F.

I have this but it does not work:

Did you know?Explore Trending and Topic pages for more stories like this.

'/^[0-9A-F]{6}$/'
No comments posted yet

Your Answer:

Login to answer
254 Like 34 Dislike
Previous forums Next forums
Other forums

Sub-domains & calling unique content
Hello,

Is there a way use something similar to the $_GET function for a sub-domain? I to be a

Connection Timeout
I'm using xmii 12.0

I'm calling a transaction as a web service from a windows application

How to secure my login data to my database?
Hi there,

It may be a stupid question but I don't know how to secure my login data to my data

unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_
Can anyone view my code and tell me why im getting the error:
Parse error: syntax error, unexpect

Passing an array of values From VB6.0 to Oracle PL/SQL Function
Basically we are using VB6.0.

When we try to pass an array from VB6.0 to an Oracle PL/SQL

Request for tunning the below query
Hi,

Can any one help me on the below query while improving the performance,

How to add functionality to a simple php calender?
Hello everyone,

I have just finished creating a simple php calander. Can someone point

form problem
Hi all, I think this is going to be easy to resolve but for I have been looking at it to long and I

chat
hello i'm amir i need a chat source code in asp.net 2.0 without Ajax. anybody can help me?

Form errors in an array
I'm processing a form and putting the errors in an array. empty($errors) doesn't seem to do the tric

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash