diff --git a/src/tools/index.ts b/src/tools/index.ts index d07d496e..de1290fd 100644 --- a/src/tools/index.ts +++ b/src/tools/index.ts @@ -5,6 +5,7 @@ import { tool as dnsQueries } from './dns-queries'; import { tool as icoConverter } from './ico-converter'; import { tool as jsonEditor } from './json-editor'; import { tool as slaCalculator } from './sla-calculator'; +import { tool as smartTextReplacer } from './smart-text-replacer'; import { tool as emailNormalizer } from './email-normalizer'; import { tool as bounceParser } from './bounce-parser'; import { tool as codeHighlighter } from './code-highlighter'; @@ -375,6 +376,7 @@ export const toolsByCategory: ToolCategory[] = [ textDiff, numeronymGenerator, aiPromptSplitter, + smartTextReplacer, asciiTextDrawer, pasteAsMarkdown, iso3166Searcher, diff --git a/src/tools/smart-text-replacer/index.ts b/src/tools/smart-text-replacer/index.ts new file mode 100644 index 00000000..7a2ddd22 --- /dev/null +++ b/src/tools/smart-text-replacer/index.ts @@ -0,0 +1,12 @@ +import { Search } from '@vicons/tabler'; +import { defineTool } from '../tool'; + +export const tool = defineTool({ + name: 'Smart Text Replacer and Linebreaker', + path: '/smart-text-replacer', + description: 'Search and replace a word on single or multiple occurrences just like windows notepad search and replace. Also allows to manage linebreaking and text splitting', + keywords: ['smart', 'text-replacer', 'linebreak', 'remove', 'add', 'split', 'search', 'replace'], + component: () => import('./smart-text-replacer.vue'), + icon: Search, + createdAt: new Date('2024-04-03'), +}); diff --git a/src/tools/smart-text-replacer/smart-text-replacer.vue b/src/tools/smart-text-replacer/smart-text-replacer.vue new file mode 100644 index 00000000..658db36d --- /dev/null +++ b/src/tools/smart-text-replacer/smart-text-replacer.vue @@ -0,0 +1,200 @@ + + + + +