I hope its okay I ask this, I searched around stackoverflow and found similair questions but no solutions worked for me.
I have HTML like this:
<h1>Beatles: A Hard Days Night</h1> now I would like a regex to match everything AFTER the colon. So A Hard Days Night in this case.
This is what I tried:
$pattern = "/<h1>\:(.*)<\/h1>/";
But this just outputs an empty array.
The following regex should match that:
PowerShell test:
A little explanation: