any character notation for php regular expression

Posted by Mith on Stack Overflow See other posts from Stack Overflow or by Mith
Published on 2010-04-04T10:29:45Z Indexed on 2010/04/04 10:33 UTC
Read the original article Hit count: 313

Filed under:
|

In my regex, I want to say that within the sample text, any characters are allowed, including a-z in upper and lower case, numbers and special characters.

For example, my regular expression may be checking that a document is html. therefore:

"/[]+/"

i have tried []+ but it does not seem to like this?

© Stack Overflow or respective owner

Related posts about php

Related posts about regular-language