Skip to main content
9 events
when toggle format what by license comment
Apr 12, 2016 at 19:21 vote accept 13aal
Apr 9, 2016 at 0:10 comment added 13aal @Tom It's not that I'm having trouble finding the http;https it's I don't want them output if they match the next if's
Apr 8, 2016 at 4:30 comment added Tom If you are having trouble finding https or http or urls in general you can write a regular expression and compile it once and maybe have an easier time extracting urls something like "(https?://)?(www.)?[A-Za-z_0-9\-\:\?#@%&*!~]+?(.com|.org|.net)(/[A-Za-z_0-9\-\:\?#@%&*!~]*?\.)*"
Apr 8, 2016 at 0:12 comment added 13aal @Tom Elaborate please?
Apr 7, 2016 at 22:08 comment added Tom You should probably be using a regular expression then
Apr 7, 2016 at 18:17 comment added Blue Eyed Behemoth And figure out if it was https or http
Apr 7, 2016 at 18:16 comment added 13aal Also if I didn't do the splits, I'd have to add the http:// to the beginning of the URL wouldn't I?
Apr 7, 2016 at 18:11 comment added 13aal Yeah, totally forgot the url variable while I was writing this haha. Should I save them to a variable or an array?
Apr 7, 2016 at 18:07 history answered Tom CC BY-SA 3.0