- Where Developers Learn, Share, & Build Careers


निम्न कोड

  / ^ (http | https): \ / \ / [ एक-Z0-9] + ([\ - \] {1} [एक-Z0-9] +।) * \ [az] {2,6}। (: [0-9] {1,5}) ? (\ /.* â ???? ????)? $ / Ix   

सभी प्रकार के डोमेन को मान्य करता है।

मैं मान्य करना चाहता हूं केवल एक डोमेन या सबडोमेन (उदाहरण के लिए .cu.cc या .CO.cc )।

आप इसे केवल अपने डोमेन रीजएक्स के अंत में जोड़ सकते हैं:

  (? & Lt; = \। Cu \ .cc) $   

यह एक सकारात्मक रूप से पीछे है

Comments

Popular posts from this blog

Python SQLAlchemy:AttributeError: Neither 'Column' object nor 'Comparator' object has an attribute 'schema' -

java - How not to audit a join table and related entities using Hibernate Envers? -

mongodb - CakePHP paginator ignoring order, but only for certain values -