PDA

View Full Version : Can someone help with a regular expression in a profile field?


Mungky
01-06-2005, 06:23 PM
We have a profile field that is supposed to be used only for providing links to specific pages on the IMDB. However, some users have been using other URLs.

Is it possible to use the "regular expression" option to reject any entries that do not contain "www.imdb.com" but allow for any and all URLs that do?

Thanks in advance.

Xenon
01-06-2005, 06:29 PM
theoretically
http:\/\/www.imdb.com\/[a-zA-Z0-9.\/\?\&]* should do what you want :)

Mungky
01-06-2005, 06:34 PM
Works like a charm. Thank you so much!

Xenon
01-06-2005, 06:34 PM
you're welcome :)