Hi peeps,

I'm trying to use regex to validate a list of URLs

I've tried 4 or 5 different "regular" expressions that supposedly work
..... but LC does not give me anything back.  None of them work,

Like for example ... this one.

^(?:http(s)?:\/\/)?[\w.-]+(?:\.[\w\.-]+)+[\w\-\._~:/?#[\]@!\$&'\(\)\*\+,;=.]+$

or this one

/^(https?:\/\/)?([\da-z\.-]+)\.([a-z\.]{2,6})([\/\w \.-]*)*\/?$/

or this one just to make sure

(https?://([-\w\.]+)+(:\d+)?(/([\w/_\.]*(\?\S+)?)?)?)

Does anyone know how to get these or others to work in LC?

Thanks,

Tom
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to