- Posts: 17
- Thank you received: 2
Regex mask help
- Eduardo Correa
- Topic Author
- Offline
- New Member
Less
More
2 years 3 months ago #154002
by Eduardo Correa
Regex mask help was created by Eduardo Correa
I need to use a mask for a custom field. I have no experience with this, but I found a ready-made mask:
^\d{3}\x2E?\d{3}\x2E?\d{3}\x2D\d{2}$
I need the numbers in this format: 123.456.789-10
Can anyone help me to make it work? Thanks!
^\d{3}\x2E?\d{3}\x2E?\d{3}\x2D\d{2}$
I need the numbers in this format: 123.456.789-10
Can anyone help me to make it work? Thanks!
Please Log in or Create an account to join the conversation.
- Eduardo Correa
- Topic Author
- Offline
- New Member
Less
More
- Posts: 17
- Thank you received: 2
2 years 3 months ago #154294
by Eduardo Correa
Replied by Eduardo Correa on topic Regex mask help
Solved.
Just typed
et voila
Just typed
Code:
000{.}000{.}000{-}00
Please Log in or Create an account to join the conversation.
Support
Documentation
Information
Copyright © 2025 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.