Quantcast
Channel: Regex for string not ending with given suffix - Stack Overflow
Viewing all articles
Browse latest Browse all 10

Answer by Bill for Regex for string not ending with given suffix

$
0
0

Anything that matches something ending with a --- .*a$ So when you match the regex, negate the condition or alternatively you can also do .*[^a]$ where [^a] means anything which is not a


Viewing all articles
Browse latest Browse all 10

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>