Re: Regular expression validation
Brian Reichert <[email protected]> Mon, 10 Nov 2025 16:59:44 -0500
| Newsgroups | gmane.comp.apache.user |
|---|---|
| Message-ID | <[email protected]> |
On Mon, Nov 10, 2025 at 08:36:26PM +0000, Darryl Baker wrote: > Is there a mailing list where I can ask regular expression help? > > > I want to match line that end with a word or the word and a slash or the word slash anything ???/(.*)$??? > I know the last case but making sure the regex covers the first two cases is what I am unsure about. Maybe this would help? https://www.sitereworks.com/url-regex-explained-with-examples/ > > Examples: > https://www.example.com/foobar > https://www.example.con/foobar/ > https://www.example.com/foobar/anything > > Darryl Baker, GSEC, GCLD (he/him/his) > Sr. System Administrator > Distributed Application Platform Services > Northwestern University > 4th Floor > 2020 Ridge Avenue > Evanston, IL 60208-0801 > [email protected]<mailto:[email protected]> > (847) 467-6674<tel:+18474676674> -- Brian Reichert <[email protected]> BSD admin/developer at large