Question: PYTHON REGEX (regular expressions) What regular expression with findall would return a lost of words contained by an underscore and return only words that DO

PYTHON REGEX (regular expressions)

What regular expression with findall would return a lost of words contained by an underscore and return only words that DO NOT have punctation. Ex) returns things like _very_ and _this_.

I do not need help with the iteration and everything, just the regular expression. I assume that it starts with ' ^\_ ' to show that it needs to start with an underscore. I am unsure where to go from here. Thanks!

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!