View Single Post
cravenge
Veteran Member
Join Date: Nov 2015
Location: Chocolate Factory
Old 09-05-2020 , 04:14   Re: [ANY] Smart Link Remover
Reply With Quote #68

Quote:
Originally Posted by paulo_crash View Post
Perfect, in case I can use it without modifying anything if I'm using SMAC, right?
Sorry for the late reply but yes, SMAC won't be triggered anymore whenever a client's name has been changed due to having links in it in the first place.

Edit: Another update on the regular expression.
PHP Code:
(((https?|ftp):[/]{2})|([ ]*[a-z0-9]+[.]))([^ ()<>/]*[/]*([^ ()<>/]*[/])*)|(:[0-9]{1,5}) 

Last edited by cravenge; 09-05-2020 at 05:40. Reason: Polished RegEx
cravenge is offline