Displaying page
of
pages;
Items to
Title |
Test
Details
Price
|
Expression |
^[$]?[0-9]*(\.)?[0-9]?[0-9]?$
|
Description |
Should match prices with or without a dollar sign.
|
Matches |
4.42 | $4.42
|
Non-Matches |
asdf
|
Author |
Rating:
Steven Smith
|
Title |
Test
Details
Image File Extension
|
Expression |
.*(\.[Jj][Pp][Gg]|\.[Gg][Ii][Ff]|\.[Jj][Pp][Ee][Gg]|\.[Pp][Nn][Gg])
|
Description |
This expression should work to validate that an uploaded file's extension is either jpg, gif, or png.
|
Matches |
foo.gif|foo.jpg|foo.png
|
Non-Matches |
foo.txt|foo.zip|foo.exe
|
Author |
Rating:
Not yet rated.
Steven Smith
|
Displaying page
of
pages;
Items to