[^a-zA-Z]
- matches anything except a,b,c,...z , A, B, ..Z
I want expression that matches anything except (abc)
AND except (xyz)
I want a regex for image tag
I tried img.*src
- it matches the initial part but between img
and src
there should not be any other image tag so I put a caret img[^(neither <img nor src=)]
how to use ^
with a group of characters??