Expert answer:I need help with a programming assignment

Answer & Explanation:Hello, I’m looking for help to do this lab, because I’m not that good at PERL programming language. I tried my best but nothing work. The submission is two hrs from now. can you help me do it please ?LAB 5 – DESCRIPTIONAttached Files:- SampleConfig.txt – perl example from the class.txt  ==>this is help to use it as a template please Create a Perl program that is simply a loop over a set of “Regular Expressions” that perform the tasks described below. Use the attached file SampleConfig.txt as input.  Note: Though this is a bit assignment is a bit contrived, it does represent the types of actual text manipulations that might be performed over many large files.Instructions:Using the attached SampleConfig.txt file, provide a Perl regular expression for each of the following tasks:Remove any leading or trailing space from each line.Replace all of the occurrences of a full line of # characters (ignoring leading or training spaces) with the following: # ———- #Change any URL ending in .htm to end with .htmlFor any set of multiple words following an equal sign (=),  place what follows the equal sign in quotes.eg: a = bcd efg  becomes a = “bcd efg”eg: a = bcd  remains  a = bcdAdd a semicolon (;) to the end of every line.Every line beginning with a comment marker (#) and containing additional text should have one (and only one) space folling the comment marker.Replace any pattern in the form of [__UPPER-CASE CHARACTERS__] with (lower-case characters)ie: Open square bracket + two underscores + upper-case text + two underscores + close square bracketeg:[__SOMEDATA__] becomes [somedata]Follow every “config section” with a comment that indicates the current section count:For example:   [SVN]  # Section: 1    [……]  # Section: 2   etc.Submit:A file containing the Perl code to fulfill the above requirementsA version of the SampleConfig.txt file incorporating all of the above changesThis is an email from the professor could help :I send this a just a word of caution about the regex101 site.  It turns out I was right the first time on LAB5-ex4:For any set of multiple words following an equal sign (=),  place what follows the equal sign in quotes.eg: a = bcd efg  becomes a = “bcd efg”eg: a = bcd remains  a = bcdThe regular expression:  ^(.*)=s*(.+s+.+)$ does exactly the right thing by matching:The start of a lineAny charactersAn equals signAny spaces after the equals signGroup1One or more charactersFollowed by at least one white-spaceFollowed by one or more characters.The end of a line.However, the regex101 tester treats new-line characters (n, r, f) as white-space characters, in “multi-line” mode.To get around that issue you could define your own character class as just tabs and spaces like this:  ^(.*)=s*(.+[ t]+.+)$In other words, it was a simple as I thought it should have been and If I had copied my original attempt to the Perl script, it probably would have worked fine. (When it initially failed in regex101 I thought I was going to have to use a positive lookahead, which gets a bit more advanced.)

How it works

  1. Paste your instructions in the instructions box. You can also attach an instructions file
  2. Select the writer category, deadline, education level and review the instructions 
  3. Make a payment for the order to be assignment to a writer
  4.  Download the paper after the writer uploads it 

Will the writer plagiarize my essay?

You will get a plagiarism-free paper and you can get an originality report upon request.

Is this service safe?

All the personal information is confidential and we have 100% safe payment methods. We also guarantee good grades

Calculate the price of your order

550 words
We'll send you the first draft for approval by September 11, 2018 at 10:52 AM
Total price:
$26
The price is based on these factors:
Academic level
Number of pages
Urgency
Basic features
  • Free title page and bibliography
  • Unlimited revisions
  • Plagiarism-free guarantee
  • Money-back guarantee
  • 24/7 support
On-demand options
  • Writer’s samples
  • Part-by-part delivery
  • Overnight delivery
  • Copies of used sources
  • Expert Proofreading
Paper format
  • 275 words per page
  • 12 pt Arial/Times New Roman
  • Double line spacing
  • Any citation style (APA, MLA, Chicago/Turabian, Harvard)

Our guarantees

Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.

Money-back guarantee

You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.

Read more

Zero-plagiarism guarantee

Each paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.

Read more

Free-revision policy

Thanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.

Read more

Privacy policy

Your email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.

Read more

Fair-cooperation guarantee

By sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.

Read more

Order your essay today and save 20% with the discount code ESSAYHELP