GrepZen
Junior Member
Posts: 3
Registered: 6/4/2005
Location: VaBchVA
Member Is Offline
|
| posted on 8/17/2005 at 08:49 PM |
|
|
REQ: help w/ custom validation
I'd like to ensure that a field (file name) has the final 4 charactors of ".PDF" (in any case upper/lower/mix)
can you assist me w/ the (I think the term is JS regular expression) ?
I have formvalidator pro.
Any insight would be appreciated.
|
|
|
tigra
Administrator
Posts: 1907
Registered: 6/17/2002
Location: US, CO
Member Is Offline
|
| posted on 8/17/2005 at 09:14 PM |
|
|
regexp is: /\.pdf$/i
|
|
|
GrepZen
Junior Member
Posts: 3
Registered: 6/4/2005
Location: VaBchVA
Member Is Offline
|
| posted on 8/19/2005 at 12:07 AM |
|
|
Great!
works perfectly! Thank you VERY kindly.
|
|
|