Skip to content

refactored Regex to be cleaner#618

Merged
Dashue merged 3 commits into
v2from
RITM0230227---update-Phone-number-input-Validation
Jun 15, 2026
Merged

refactored Regex to be cleaner#618
Dashue merged 3 commits into
v2from
RITM0230227---update-Phone-number-input-Validation

Conversation

@NovaGlow

@NovaGlow NovaGlow commented Jun 8, 2026

Copy link
Copy Markdown

I have updated and refactored the Regex to be cleaner and better validation, manual testing seems to work.

@NovaGlow NovaGlow left a comment

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have refactored the Regex to allow for 10 to 12 digits and allows various styles of phone number to be added as long as they are valid numbers

@melissafisher-ukhsa

Copy link
Copy Markdown

I'm happy with the changes from a test perspective. Test evidence is here: https://ukhsa.atlassian.net/wiki/spaces/L2L3S/pages/555450564/RITM0230227+-RAO+Telephone+formatting

@Dashue Dashue merged commit 84b4f9c into v2 Jun 15, 2026
4 checks passed
@Dashue Dashue deleted the RITM0230227---update-Phone-number-input-Validation branch June 15, 2026 13:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants