Log in

View Full Version : Fixing periods and commas parsed into urls?


Gutspiller
03-06-2003, 12:33 AM
When you post www.blah.com and it's in a sentenced sometimes people put a comma or a period and many other characters. Is there a way to fix this so that it doesn't do it without just tell people to not put periods and commas, etc. after urls? I know that it needs some characters because of database urls to other places and dynamic urls, but is there a way to fix this?

Any help would be greatly appreciated.

Thanks!

filburt1
03-06-2003, 01:09 AM
I don't know how exactly to do it, but check out the regular expression vB uses to detect URLs and modify it so it terminates earlier when appropriate.

Gutspiller
03-06-2003, 05:14 AM
Originally posted by filburt1
I don't know how exactly to do it, but check out the regular expression vB uses to detect URLs and modify it so it terminates earlier when appropriate. And just how do I do that? :o