A regular expression to match anything after the first space in a string. Can be useful in replacing all characters that follow the first space.
/\s(.*)/g
Matches:
- Regex Pattern
- Regex Pattern Com
- Regex Pattern.Com!
See Also:
- Regex To Match All Whitespace Except New Line
- Regular Expression To Match Whitespace
- Regex To Match Any Word In A String Excluding Spaces
- Regex To Match A String With No Whitespace At The Beginning And End
- Regex To Match Everything After A Specific Character