Home > Topic List > How to express spaces in regular expressions

How to express spaces in regular expressions

Regular expression spaces can be represented by "\s", which is a special metacharacter used to match any whitespace characters, including spaces, tabs, newlines, etc. If you want to know more about how spaces are represented in regular expressions, you can visit the following article.

Related courses More >
ElementaryRegular Expressions Manual

27706 times of learning

Collection
ElementaryQuick introduction to regular expressions

36153 times of learning

Collection
Related Tutorials More >