Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Regular expression : Uppercase and number

Good morning, 

 

I am looking for a regular expression that obliges users to set the good format for a field (e.g shipping number), thanks to a validator.

The format that we need is Upper case + numbers as:

- OALC65AS

- 87QLS6LA2

- QLOS65

You can see that there is no order regarding number/letter

 

We just don't want that:

- as6fg6e5

- s654f6

- 98sd6f3

 

Spoiler alert, I tried:

^[A-Z0-9]+$

- [A-Z0-9]+

[A-Z0-9]*

 

Thanks for your return

1 answer

1 accepted

0 votes
Answer accepted
Riley Sullivan
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Sep 22, 2023

Hello @Bastien Delourmel 

 

Interesting, would you be able to provide screenshots?

 

I just tried ^[A-Z0-9]+$ and it worked for me!

Screenshot 2023-09-22 at 11.23.41 AM.png

Well, don't know what did I do this day.. thanks. In fact it worked

Like Riley Sullivan likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events