![]() |
help with Regular Expression
I need something like this
Code:
^([1-9]|[1-4][0-9]|50)$ |
Code:
^([a-zA-Z0-9]{6})$ this might work, or get you going in the right direction. not the best at regex --------------- Added [DATE]1323036760[/DATE] at [TIME]1323036760[/TIME] --------------- would be easier if we knew what this was going to be used for. you can test your expressions with http://regexlib.com and the Regex tester link |
<a href="https://vborg.vbsupport.ru/showthread.php?p=2257327&highlight=regular+express ion+tester#post2257327" target="_blank">https://vborg.vbsupport.ru/showt...er#post2257327</a>
|
didnt work but thanks im trying to use the tester its for a custom field that i only want to allow 6 letters or number any combination just cant surpass 6 characters.
|
This seems to work
/\b[a-zA-Z0-9]{6}\b/ |
Quote:
i get this error when i add that to the custom field and the text i am entering is "nycjdm" w/o the quotes Code:
You did not enter the correct format for the License Plate Text field. Please read the field description for the expected format. |
Well, what is the "field description for the expected format"?
|
1 Attachment(s)
Here is a screen shot
|
nvm i got it working thanks!!! u rock
|
so what was the issue? what did you do to resolve it? what regex ended up working?
|
All times are GMT. The time now is 11:09 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|