Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

5
  • Where is this random data located? Is it always at the end of the line, or can it be elsewhere as well? Commented Aug 29, 2020 at 13:06
  • @MariusMatutiae, it can be anywhere in the line Commented Aug 29, 2020 at 13:37
  • How would one know where the URL ends? In the example above, does it end just before "? Is there always a " character at the end of the URL? If not, how would one tell a path apart from "random data"? Commented Aug 29, 2020 at 14:48
  • @Kusalananda not sure, they sometimes end with the following -- ], ", /. Obviously all urls start with http:// or https:// Commented Aug 29, 2020 at 14:59
  • The trick here is to find how the various URLs in your file end, otherwise any solution is just a guess. Can you look into the file and idientify these characters? Commented Aug 29, 2020 at 15:07