Find centralized, trusted content and collaborate around the technologies you use most.
Learn more about CollectivesTeams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Learn more about TeamsMy Favorite Question
This is the question I had the most fun answering so far. It's a simple but really effective regex technique that can be used in a surprisingly large number of situations.
Matching or replacing something, except when x, y or z...
Tricks / Answers I had fun with
$
? It depends![][]
and friends: So you thought matching brackets was easy?Answers I loved reading
(?!)
or (*F)
in Perl and PCRE.Work in progress—I really want to add more here. By far the greatest thrill I get on Stack is when I read an answer that makes me go "Aha!..." and grasp a way of doing things that is so much more efficient than anything I had come up with. I've been blown away quite a few times. And one thing that's for sure is there's no shortage here of people who are a lot brighter than me. :)
Your privacy
By clicking “Accept all cookies”, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our Cookie Policy.