Jump to content

Recommended Posts

in case anyone wants to try their hand, it's just:

  • Any uppercase letters (no limit on # of characters) followed by exactly 4 digits
  • No digits allowed before the the letters
  • No letters allowed after the four digits
  • No special characters allowed

So good:

  • JOHN1960
  • JEFF5120
  • JIM2345

But bad:

  • 12JOHN1960
  • JOHN 1960
  • JOHN19607
  • JOHN1960T

All I really need is the 'flavor'. No need to really rack your brains over the expression. Just posted in case we have a wiz who can bang it out in their sleep. Otherwise will post on the regex subreddit.

Thanks all.

Link to comment
Share on other sites

Thanks for posting!

Unfortunately, this issue is beyond the scope of our technical support. 👩‍💻

Our technical support is happy to help you with the Invision Community platform, but we're unable to help with things like server management, theme questions and modifications.

I've moved this to our Community Support area where other Invision Community owners will see it and help where they can.

Link to comment
Share on other sites

1 minute ago, Jim M said:

I've moved this to our Community Support area where other Invision Community owners will see it and help where they can.

My bad, put it in the wrong place.

@Terabyte thanks. Almost perfect. For some reason, the [A-Z] is still allowing for lowercase letters to slip through?

Also, in regex101.com I can't seem to put the first / and the /gm. It asks for a \ escape. But without it works fine, I just have to force the uppercase 😉

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...