I have a string of text that I am trying to match in my application.
This is the series that I am matching
//images.slashdot.org/hc/45/7ee10c139d5a.jpg
The only constant is going to be the amount of digits between the first two backslashes but then the actual jpg can vary.
I've tried this but I am not able to grab anything.
/hc/45/b6ffeb799a4e.jpg
\/\/images\.slashdot\.org\/[a-zA-Z0-9]\/[a-zA-Z0-9]\/[a-zA-Z0-9]\.jpg
Any ideas on where my expression is going wrong?
This is the series that I am matching
//images.slashdot.org/hc/45/7ee10c139d5a.jpg
The only constant is going to be the amount of digits between the first two backslashes but then the actual jpg can vary.
I've tried this but I am not able to grab anything.
/hc/45/b6ffeb799a4e.jpg
\/\/images\.slashdot\.org\/[a-zA-Z0-9]\/[a-zA-Z0-9]\/[a-zA-Z0-9]\.jpg
Any ideas on where my expression is going wrong?