How to detect a TV Show using $regex - 08/01/18 11:37 AM
Code looks right to me, but what I can't figure out why it's not working for me?
I've been trying various ways to get it to work but no luck since last night - right now i'm having a bit of a headache! - lol
I possibly have a dementia - coding is like way past my time
Code:
if ($regex([Ss]?)(\d{1,2})([xXeE\.\-])(\d{1,2}) isin $1-) { //echo -a TV Show Detected : $1- }
Quote:
* Invalid parameters: $regex
I've been trying various ways to get it to work but no luck since last night - right now i'm having a bit of a headache! - lol
I possibly have a dementia - coding is like way past my time