Skip to content
Advertisement

need preg_match_all links

i have a string like this one:

JavaScript

need to get all links.

i tried this way: /http://(.*)[|s]?/

returns:

JavaScript

EDIT 1: expect:

JavaScript

Advertisement

Answer

Try this one:

JavaScript
User contributions licensed under: CC BY-SA
3 People found this is helpful
Advertisement