Got more questions? Find advice on: ASP | SQL | XML | Windows
in Search
Welcome to RegexAdvice Sign in | Join | Help

Browse by Tags

All Tags » php regular exp... » alphanumeric with restraints
Sorry, but there are no more tags available to filter with.
  • parseing string with optional match question

    Hello. I'm trying to write a regular expressin that will parse filenames for prefix, revision, page, and extension. This is what I have so far.  /^(.*)_(\d*).*__(\d*)\.(.*)$/i This works for filenames in this form. 418C_1(SPACER)__2.pdf and pulls out prefix:418C   Rev: 1   Page: 2    File ...
    Posted to Construction Advice (Forum) by tarsier on January 24, 2007
  • PHP Regular Expression - HELP!

    I'm looking to create a regular expression in PHP that does the following.  Keep in mind it is for a registration form where a text field must contain the following: Must be at least 8 characters in length and the field must contain at least 1 number and 1 alphabetic character.  I came up with the solution below but IT DOES NOT WORK ...
    Posted to Construction Advice (Forum) by caseyk on January 19, 2007