Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I found this question on StackOverflow. It worked great but I also need to include lines that have non-alphabet characters in it like:


And add prefixes like this:


Based on the the other topic I'm guessing I need a regex that matches dots and such besides just regular text.

Does anyone know how I can accomplish this?

share|improve this question

Nevermind. Found the answer:

share|improve this answer
Please accept you answer. – amiregelz Aug 20 '12 at 13:52

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .