- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2024 08:22 AM
I admit, I know very little about RegEx. Someone helped me build this RegEx expression, which limits entries to lower case letters, underscores, and periods.
^[a-z._]*
It works great. However, they have another requirement. No records can start or end with a period.
Is there anyway to update that RegEx expression to add that restriction?
Also, a bonus would be "nice to have, but not required", is there away to also not allow two or more periods in a row?
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2024 08:28 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2024 08:28 AM
try ^[a-z]+(?:[._][a-z]+)*$
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2024 09:08 AM
Awesome! Initial testing seems to be working!
Thank you very much!