how do i match just spaces and newlines with python regex? -


how match empty spaces including newlines python regex?

hereissometext     thereisspacepreceding 

basically trying match space between 2 groups of text.

four seconds of searching docs have found answer in docs. said, if you're looking matching group whitespace + newlines, here go.

(/s+) 

Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Socket.connect doesn't throw exception in Android -

iphone - How do I keep MDScrollView from truncating my row headers and making my cells look bad? -