While it isn't a BBEdit solution, Beyond Compare has the capabilities 
you're looking for. You can define unimportant text, by string with or 
without matching case or by regular expression, and then specify how an 
unimportant text definition is applied to a comparison operation.

The Scooter Software YouTube channel has a Beyond Compare 4: Define 
Unimportant Text <https://www.youtube.com/watch?v=rvBwPHZhAtA> video that 
demonstrates using that capability to ignore timestamps in file 
comparisons. Something similar to that would be defining a regular 
expression to ignore differences in URL paths in comparing files.

Beyond Compare is a relatively small cost application, but there is a trial 
version available so you can try before buying.

Since this is a BBEdit forum, if you want this sort of ignore differences 
support in BBEdit's file/folder comparison capabilities, you can send in a 
feature request to BBEdit Support. 

On Friday, January 30, 2026 at 11:24:46 AM UTC-8 Neil Faiman wrote:

> Is there any way to do a “Find Differences” that disregards certain 
> predictable and uninteresting differences?
>
> My specific example is a folder comparison of two folders that contain 
> “the same” HTML files, but that are at different depths in the web site 
> folder hierarchy. Thus, all intra-site links in the files will contain 
> additional “../”s in the deeper folder. For example, in the shallower 
> directory:
>
> <link rel="Stylesheet" href="../zba-5.9.css" type="text/css">
>
> <script src="../collapsible_menu.js"></script>
>
> And in the deeper directory:
>
> <link rel="Stylesheet" href="../../zba-5.9.css" type="text/css">
>
> <script src="../../collapsible_menu.js"></script>
>
> If I there were a Find Difference option, “disregard all occurrences of a 
> specified grep pattern when comparing the files”, then I could just ignore 
> all occurrences of “../” in href elements.
>
> Thanks,
> Neil Faiman
>

-- 
This is the BBEdit Talk public discussion group. If you have a feature request 
or believe that the application isn't working correctly, please email 
"[email protected]" rather than posting here. Follow @bbedit on Mastodon: 
<https://mastodon.social/@bbedit>
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/bbedit/3e99bd84-d1e6-447a-bb2c-45486640cd76n%40googlegroups.com.

Reply via email to