Replace Slashes with Dashes: Convert / and \ to - in text. Options for specific slash types, URL/date preservation, custom replacements, and multi-slash handling. Ideal for path formatting and data cleanup.
Examples:
Basic Replacement
Before:
2023/12\31/document
After:
2023-12-31-document
URL Preservation
Before:
Visit https://example.com/path
After:
Visit https://example.com/path
Date Preservation
Before:
Date: 2023/12/31 Time: 14\30
After:
Date: 2023/12/31 Time: 14-30
Custom Replacement
Before:
src/components/ui
After:
src_components_ui
Multiple Slash Handling
Before:
server//shared\\folder
After:
server-shared-folder