How can I pattern match when every word has an underscore after it.
Example:
This_sentenance_has_an_underscore_after_every_word

I'm not really good at Perl pattern matching, but \w and \W see an underscore 
as a word character, so I'm just not sure what might work.

body =~ /^([a-z]+_+)+/i

Is that something that will work effectively?

Thanks.

Wes


      

Reply via email to