Guest User

Untitled

a guest
Jun 23rd, 2018
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. Perl regex trigger line:
  2.  
  3. \b(?:(?:(?:https?|ftp|telnet)://[\w\d:#@%/;$()~_?\+\-=&]+|www|ftp)(?:\.[\w\d:#@%/;$()~_?\+\-=&]+)+|[\w\d._%+\-]+@[\w\d.\-]+\.[\w]{2,4})\b
  4.  
  5. In the script box:
  6.  
  7. for i,v in ipairs(matches) do
  8. selectString(matches[i], 1)
  9. setLink([[openUrl("]]..matches[i]..[[")]], matches[i])
  10. end
  11.  
  12. Set to match all.
Add Comment
Please, Sign In to add comment