7
I have a shape of a String
, for example:
- xxxx-xxxx-xxx
But instead of the x
can enter several letters or numbers, example:
- A216-0450-013
- X2LP-1018-589
- Y585-0000-047
What I need to do is compare to know if the format is equal, however the value does not matter.
And what is the format, specifically speaking? Anywhere can have a letter or a number?
– Jéf Bueno
@jbueno yes, anywhere, the format is the one I put, 4 digits, dash (-), 4 digits, dash (-), 3 digits
– Thomas Erich Pimentel