L
Lester
I need a regexp function which makes a match when the string contains
<img...> AND the img tag above dows NOT contain a certain path
Here is what I have:
<img\s.*(src).+>
I want to allow users to insert images from a certain path, but prevent
them to insert any images from elsewhere. I dont need replace
functionality, just an alert.
Thank you in advance!
Keke
<img...> AND the img tag above dows NOT contain a certain path
Here is what I have:
<img\s.*(src).+>
This matches if my string contains said:character, the "thisfolder/thatfolde" string can be found, I do NOT need a match. If this string is missing, I DO need a match.
I want to allow users to insert images from a certain path, but prevent
them to insert any images from elsewhere. I dont need replace
functionality, just an alert.
Thank you in advance!
Keke