2 Replies Latest reply: Jan 25, 2012 2:12 PM by rukbat RSS

    Regular expression help with unicode

    235655
      Hi,

      I'm looking for regex where String consists of a mixture of unicode letters and numerical digits only, with at least one of each.

      The closest I got to is Java String: *"^[\\p{L}\\\p{N}]+$"* The problem is, this still allows if the string is entirely numbers or entirely letters, so strings like "1234567" or "abcdef" still match.

      Does anyone know how I can make this work?

      Thanks,
      sridharp1