Reg Ex: Replace all tags except style and script tags

Took me a bit of hacking some regular expressions together using look aheads until I realized although it worked it’s not what I wanted after all….guess its late —

I figured I would post it to have it be at least worth a bit of SEO since i couldn’t google it myself…

Java String: “<(((/)|())(?!(/)|((script)|(style))).*?>)>*?”

The ol’ switcherooo

I realized todaythat with the advents of iPhone and Google voice free calling from my computer I now use my phone for computing and my computer for calling more then the other way around.

Maybe this is anoter indicaton that mobile is more about sponetaity and look ups where the computer is used as a momemt in time reserved for an action. I am walking and curious about the weater i am about to enter, check phone. I need to talk to my mom at 8 sit down and use skype or gchat for 30 mins….

Maybe ist just ironic, but it was a funny thing to notice today either way.

My greatest life lessons from Computer Science

I really appreciate  my education in Computer Science. The most valuable mental shift I gained was the understanding that there are no “hard problems.” To recognize that even extremely difficult problems were easily solved once you were able to deconstruct them into smaller more simple ones. Problem-solving is about figuring out how to simplify, dismantle, and rebuild toward solutions. Simplifying is all about getting good and asking the right questions.

For instance, playing the guitar is hard, playing chords with rhythm is easier, playing chords is even easier, playing a note is more easy – and so on and so forth.

Just breakdown what you want to accomplish and get great at each little piece of it. Then, get great at putting each individual piece together and your problem isn’t all that bad.