It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Board index Programming JavaScript Forum

Regex Problem

Regex Problem

Postby oralunal on Wed Aug 31, 2011 9:01 pm

Hi,

I have a working regex on server side. But it doesn't work on client side.. JavaScript fails when I call this regex.. Can you correct my regex?

Code: Select all
/(?i)\b((?:https?:\/\/|www\d{0,3}[.]|[a-z0-9.\-]+[.][a-z])(?<!togl\.me\/)(?!togl\.me)(?:[^\s()<>]+|\(([^\s()<>]+|(\([^\s()<>]+\)))*\))+(?:\(([^\s()<>]+|(\([^\s()<>]+\)))*\)|[^\s`!()\[\]{};:'\".,<>?«»“”‘’]))/


Thanks,
oralunal
 
Posts: 1
Joined: Wed Aug 31, 2011 8:59 pm

Who is online

Users browsing this forum: No registered users and 3 guests