Okay, I'm creating a mod for some forum software and I'm trying to create a regex string that can search a post for all links and put them into an array.
Basically, what I have at this point is a variable that has the text in it and I need to search it.
Links can appear in four different formats
What I need to do is search a string for any of these formats and put them all into an array. I have next to no experience with regex and I was wondering if someone could help me out.