Skip to content

jcreamer898/UploadTextDocSearch

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Text File Upload

Try now: screenshot of app

Features

  • File Uploader that renders onto the UI for editing.
  • Can replace instance of a string within a text and re-saved.

Built with

  • JS
  • CSS
  • HTML5

Getting started

  • Choose text doc: Uploader will except script files and other doc types and convert them to a string.
  • The "Get Occurance (search)" button will reveal the number of all occurances of the search bar value/string found within the text document.
  • The "Replace and Save" button will replace all occurances of the search value string with the replace value string.
  • "Get Occurance (replace)" button will show all of the occurances of the string within the replace bar value.
  • The "Get Total Replaced" will reveal what has been replaced.

Other considerations for improvement:

  • Currently the code is verbose with variable names that could be simplified.
  • The value of the search and replace can be updated without refreshing the page. However,the input will output the total replaced string for the first string.
  • A counter will have to be created in order to store the value and update the total count.
  • The save button is currently attached to the replaced button. Ideally, there should be a save button once all changes are met.

References for this project:

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • JavaScript 63.2%
  • HTML 27.1%
  • CSS 9.7%