WhoAmI
WhoAmI

Reputation: 1133

Regex match everything that ends with a dot

I have commits like [version-update] Version has been updated in bla bla repository in branch develop to 5.1.0-SNAPSHOT.

I need to match everything with .. What regex I can use

Upvotes: 0

Views: 70

Answers (1)

ds4940
ds4940

Reputation: 3682

The dot has to be escaped and $ represents the end of the string so

\.$

Upvotes: 2

Related Questions