What would be a regex to match period followed by any number of spaces and then a specific string?
Question:
that is, i want to match something like this .**
, . **
, . **
, etc..
and how do i get that match
Answers:
You can use this regular expression:
.s***
.
matches a literal dot.
s*
matches zero or more whitespace characters.
*
matches a literal asterisk.
that is, i want to match something like this .**
, . **
, . **
, etc..
and how do i get that match
You can use this regular expression:
.s***
.
matches a literal dot.
s*
matches zero or more whitespace characters.
*
matches a literal asterisk.