You can stick optional whitespace characters \s*
in between every other character in your regex. Although granted, it will get a bit lengthy.
/cats/
-> /c\s*a\s*t\s*s/
More Related Contents:
- How can I match “anything up until this sequence of characters” in a regular expression?
- Regular expression to match any character being repeated more than 10 times
- Parsing scientific notation sensibly?
- How can I validate an email address using a regular expression?
- Regex Last occurrence?
- Remove multiple whitespaces
- Regular expression to match string starting with a specific word
- How to wisely combine shingles and edgeNgram to provide flexible full text search?
- Regular expression negative lookahead
- Regular Expression Arabic characters and numbers only
- Mail::RFC822::Address Regex
- How to match, but not capture, part of a regex?
- Regular expressions in a Bash case statement
- Regex – how to match everything except a particular pattern
- C++0x regex in GCC
- MongoDB, performance of query by regular expression on indexed fields
- Find numbers after specific text in a string with RegEx
- Regex for time in hh:mm am/pm format
- Email validation using regular expression in JSF 2 / PrimeFaces
- Grammatical inference of regular expressions for given finite list of representative strings?
- Regex get domain name from email
- Using sed and grep/egrep to search and replace
- Regular Expression to exclude set of Keywords
- Remove square brackets from a string vector
- regex: find one-digit number
- Regular Expression – How to find a match within a match?
- Regular Expression usage with ls
- Match parenthesised block using regular expressions in vim
- Difference between regex quantifiers plus and star
- Finding and removing Non-ASCII characters from an Oracle Varchar2