function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Peter TheodorePeter Theodore 

REGEX for URL Matching

Wondering if I can get a little help with this. My company has a very static form of a URL pattern, as follows:[ID]

Where [ID] is the Id of a record on our site. I'm struggling to write a REGEX to verify that a URL that matches my company's format appears in an email body. I have the email handler all set up, I just need to analyze whether a URL that appears in the body matches that format or not. I understand how to use the Pattern and Matcher classes, so all I need is the REGEX for the compiler. Any help at all would be appreciated!