I need a regular expression that will be able to detect:
https://s-dPICS-sac323.domain.com/a12_hyJ_k87ds_x.jpg
Will this code do it:
var x = /(https:\/\/[A-Za-z0-9.-]*PICS[A-Za-z0-9._\/]*\.jpg)/g;
Will this be able to detect something along the lines of:
Note: everything except https://, PICS, domain.com, and .jpg are random alpha-numeric characters for this example. I’m trying to detect all of the rest of the characters.
Thanks for your help!
Try this instead:
Demo: http://rubular.com/r/flmf92C3T2