libgstregex.dll Error in Windows 10 and 11: Text matching and replacement

A subtitle or text filter fails when a regular-expression rule is enabled. If the log names libgstregex.dll, keep the full file path and the first error shown.
What libgstregex.dll does
It supplies regular-expression text processing for compatible GStreamer pipelines. The MSYS2 Windows package manifest lists the file in its UCRT64 plugin directory. Other Windows distributions can use a different filename or plugin layout.
Start with this check
Test a simple rule and a short text sample before using the batch or production pattern.
For a standalone GStreamer installation that includes the inspection tool, open a terminal from the same runtime the app expects and run gst-inspect-1.0 regex. Check the plugin filename in the output. If the tool reports that the plugin is missing, confirm it is inspecting the same installation as the app. If the app bundles its own runtime, start with its log instead.
Choose the repair that fits
If the plugin is missing or fails to load, use the application's official repair or installer first. If you manage a standalone runtime, restore its matching plugin package through the original package source and keep the app, runtime architecture, and plugin versions consistent. A load error can name an existing DLL when another file it needs is missing. Leave Windows system folders alone and skip standalone DLL download sites.
If the plugin loads, compare the input text and rule outside the failing project and check for escaping errors in the app's settings.
Verify the repair
Confirm that intended matches change and an intentionally unmatched line stays intact. Close and reopen the app before repeating the original task. If it still fails, keep the exact error, app version and module path for the app publisher.
See the GStreamer Windows installation guide and plugin inspection documentation. For related issues, see GStreamer playback DLL troubleshooting or browse the DLL Library.