Help for this page

Select Code to Download


  1. or download this
      m{
        ([A-Za-z])  # find a letter (and capture it)
        \1          # followed by the same
        (?!\1)      # but not by the same again
      }x;
    
  2. or download this
      m{
        (?:           # either
    ...
        \2
        (?!\2)
      }x;