in reply to Re: Re: Re: Re: Regex to match file extension in URL
in thread Regex to match file extension in URL
This guarantees that you'll get the last chunk of non-periods at the end of URL... but beware because like I said "http://www.yahoo.com" will match "com", and "http://www.somewhere.com/home/" will match "com/home/".\. # literal period ( # start capture [^.] # any character that's not a period + # one or more of them ) # stop capture $ # end of line
Gary Blackburn
Trained Killer
|
|---|