I have got this javascript on blank page:
Please show this number to your supplier:
<script>
document.write(document.URL);
</script>
so it shows
"Please show this number to your supplier: http://www.exaple.com/invoices/123456789"
How do I extract only the numbers from an url so I would get this?
"Please show this number to your supplier: 123456789"