Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
U

User 1567210

@User 1567210
About
Posts
2
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Problem combining REGEX expressions
    U User 1567210

    Finally after many trials, I think I found an answer : ^(?=((?i)(?!private).(?-i))*$)([\w]+([_\s]{1}[a-zA-Z0-9]+))*$ Bye

    Regular Expressions help regex php com question

  • Problem combining REGEX expressions
    U User 1567210

    Hello all, I'm a regex newbie and I'm stuck with regex in PCRE/PHP. First expression, I'd like to match letters, numbers or underscore but - no space at start or end - no more than one consecutive space This works fine : ^[\w]+([_\s]{1}[a-zA-Z0-9]+)*$ Second expression - no "private" in lower or upercase ie avoid "private", "PRIVATE", "Private" ou "pRivATe" This seem to work fine : ^((?i)(?!private).(?-i))*$ I tried to combine both regex but cannot get it work ! By the way, I'm using extendsclass.com online tester. Thanks for help.

    JLO

    Regular Expressions help regex php com question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups