It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Regular Expression with JSU

Hello,

 

i'm using JSU for Regular expression and i need to have a match with a number field with an exemple like:

12.1234 ( MAX  for 2 digits before dot and 4 digits after dot )

 

I'm actually using this Regex: /((^[0-9]{0,2})$|(^[0-9]{0,2}[.][0-9]{0,4}?))$/

This expression is matching with an empty field or 12 or 12.1233 but still not working in JSU .

 

Can you please help ?

 

thanks in advance.

 

 

1 answer

Hello,

JSU works as normal Java regex. In your case, you can trying using [0-9]{0,2}\.+[0-9]{0,4} For more information please see https://confluence-apps.beecom.ch/display/JSU/Regular+Expression+Check+Validator

For any kind of support, you can always raise a ticket on https://servicedesk-apps.beecom.ch/servicedesk/customer/portal/3

Thanks

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira

Jira Cloud for Google Sheets: Automatically Refresh Your Data!

Remember that time you realized it was possible to refresh your Jira data in Google sheets with just one click? What if we told you that you can now get the latest data with no clicks at all?! Zero! ...

7,364 views 33 29
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you