I have a specification I need to follow (for a little project) and I want to ask if they my way of thinking on how to tackle this spec is correct. It's regarding C#.
- consume a TEXT file (.txt) from a local folder
- Provide the ability to:
- strip all vowels
- remove all non-alpha characters
- replace a specific string (using a regular expression) with xxxxxx
- import the entire file into memory
- parse the contents and remove / strip / replace
- write out a single TEXT file as OriginalName + Parsed.txt
The text file should contain
Original file (unprocessed), at the end of this section add a summary with count of ALL words and characters.
--------------- to separate the unprocessed from the processed
the processed data, at end of section add summary with count of ALL words and characters.
OK here is my way of tackling it:
import a blank text file which will be saved as OriginalName + _Parsed.txt and include the same line in the text file with the summary... then the divider ------... then the processed line where the vowels, non alpha characters are removed, and specific string is replaced with xxxxx. Also includes it summary Does that seem like the right way going about it? I want to ask what is a regular expression and what should the final line look like so I can match it?
Also one final thing, it says ensure the compiled version of the application can be tested on windows 8.1.64bit that does not have visual studio installed. I'm doing it on visual studio but should I perform the application on C# console application so they can see it without needing Visual Studio? It does say debug with command line and no GUI involved.