There is some strings like:
.texta texti(
.textb textj(
textc textk(
text
Why the result has “exta”, “extb”?
The target is to get “textc”, excludes words started with “.” or “,”.”
If the pattern is s*(w+)s+(w+)s*(
, the result is “texta”, “textb” and “textc”
New contributor
WJ Lian is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.