Regex validation means a error inside, but there is no error!?

If i enter on the Filter settings under Filter this regex:

^((((H|h)(T|t)|(F|f))(T|t)(P|p)((S|s)?))://)?(www.|[a-zA-Z0-9].)[a-zA-Z0-9-.]+.[a-zA-Z]{2,6}(:[0-9]{1,5})(/($|[a-zA-Z0-9\ .,;?’\+&%$#=~_-]+))$

i got everytime this message:

Invalid regular expression: Unclosed counted closure near index 93 ^((((H|h)(T|t)|(F|f))(T|t)(P|p)((S|s)?))://)?(www.|[a-zA-Z0-9].)[a-zA-Z0-9-. ]+.[a-zA-Z]{2 ^. Please try again.

When i try the same regex in Expresse or another regex system/tool/tester it works like a charm…!?

What i need is just to block URLs from the conversation like this ones:

prototocol://host.domain.ltd

prototocol://domain.ltd

host.domain.ltd

domain.ltd

Any Ideas where the fault is?

thx

Volkan

([\d\w-.]+?.(a[cdefgilmnoqrstuwz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvxyz]| d[ejkmnoz]|e[ceghrst]|f[ijkmnor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]| j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdghklmnopqrstuvwxyz]|n[acefgilopruz]|o m|p[aefghklmnrstwy]|qa|r[eouw]|s[abcdeghijklmnortuvyz]|t[cdfghjkmnoprtvwz]|u[aug kmsyz]|v[aceginu]|w[fs]|y[etu]|z[amw]|aero|arpa|biz|com|coop|edu|info|int|gov|mi l|museum|name|net|org|pro)(\b|\W(?<!&|=)(?!.\s|.{3}).*?))(\s|$)

With this one its work (?)

thx

Volkan

Solved