tokens: Catch links but would always require leading http:// or https:// else the url would be example.com/google.com also you should use preg_replace_callback() as its possible to xss unsanitized input .
ner_tags: O O O O O O O O O O O O O O O O O O O O B-Function O O O O B-Library O O O