the dot means anything can go here and the star means at least 0 times
so .*
accepts any sequence of characters, including an empty string.
More Related Contents:
- string pattern matching using perl regex [closed]
- Why is this regex allowing a caret?
- Regex to validate date formats dd/mm/YYYY, dd-mm-YYYY, dd.mm.YYYY, dd mmm YYYY, dd-mmm-YYYY, dd/mmm/YYYY, dd.mmm.YYYY with Leap Year Support
- Regex: ignore case sensitivity
- Carets in Regular Expressions
- What is the ultimate postal code and zip regex?
- What is the difference between square brackets and parentheses in a regex?
- isnumeric() with PostgreSQL
- Negating a backreference in Regular Expressions
- regex to match a word with unique (non-repeating) characters
- Regex to split HTML tags
- Is it possible to define a pattern and reuse it to capture multiple groups?
- What’s the technical reason for “lookbehind assertion MUST be fixed length” in regex?
- Regular expression to match last number in a string
- What are the differences between glob-style patterns and regular expressions?
- Regular expression – starting and ending with a character string
- To use or not to use regular expressions?
- Multiple regex matches in Google Sheets formula
- Regex: How to match a string that is not only numbers
- Regular expression for parsing name value pairs
- Need a regular expression – disallow all zeros
- How to match a line not containing a word [duplicate]
- How do I get regex support in Excel via a function, or custom function?
- How to search and replace with a counter-based expression in Vim?
- Combining $regex and $or operators in Mongo
- Case insensitive search in Mongo
- Why does VIM have its own regex syntax?
- Replace with whole match value using Notepad++ regex search and replace
- RegEx for allowing alphanumeric at the starting and hyphen thereafter
- How does \b work when using regular expressions?