Hi all, I wish to present a user with a text field that can take any of these inputs:
The URL such as http://www.imdb.com/title/tt0892318/
a number which will be the title code such as tt0892318 and a number that will be prefixed with tt and be interpreted as the title code such as 0892318
On pressing the submit button the application should find the relevant page on the site.
How am able to present this best in PHP
Thanks in advance