title: How to get the page title from Wikipedia page URL?
body: <p>I'm trying to create a system where the user will input their Wikipedia page link, and the application will get the page title from Wikipedia page URL.</p>
  <p>Like, if the user gives: <code>https://id.wikipedia.org/wiki/Eminem</code>, I want to get the page title <code>Eminem</code>.</p>
  <p>Or if the user gives: <code>https://id.wikipedia.org/wiki/Eminem#1992%E2%80%931997:_Awal_karier,_Infinite_dan_masalah_keluarga</code>, I want the page title, which is <code>Eminem</code></p>
  <p>I've tried finding a  <strong>regex</strong> pattern. I'm thinking about what if I could create/ find a regex pattern that would find words that sit between <code>/wiki/</code> and ends with a <code>/</code>. So far didn't found any way to do that.</p>
  <p>So what can I do? What other options I have?</p>