Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

some_name
some.name

And add prefixes like this:

start:"some_name"  
start:"some.name"

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

1 Answer 1

Nevermind. Found the answer:

^(.*)$
share|improve this answer
1  
Please accept you answer. –  amiregelz Aug 20 '12 at 13:52

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.