\. # literal period ( # start capture [^.] # any character that's not a period + # one or more of them ) # stop capture $ # end of line