Write script to filter some xml code (regex) like the one attached.

Σε Εξέλιξη Αναρτήθηκε Πριν 5 χρόνια Πληρώθηκε κατά την παράδοση
Σε Εξέλιξη Πληρώθηκε κατά την παράδοση

I believe the steps to do this are:

1. Remove <commentary> tags and their parameters, but leave their contents.

2. Remove all <a tref= … > tags.

3. Remove all tag parameters apart from href=.

4. Change <h1 … > tags to <p class="cleaned">.

5. Remove <h4 … > tags AND their contents.

6. Change <p> tags into <p class="cleaned">

7. Close up repeated new-lines.

The result should be just a list of <p class="cleaned"> tags with text and simple <a href=> links.

This will be run on a Mac but I suspect standard Linux/Unix text processing tools will work.

Linux Mac OS PHP Python Δέσμες Εντολών Γλώσσας Υπολογιστή

Ταυτότητα Εργασίας: #18289159

Σχετικά με την εργασία

9 προτάσεις Απομακρυσμένη εργασία Ενεργό Πριν 5 χρόνια

9 freelancers κάνουν προσφορές κατά μέσο όρο $134 για αυτή τη δουλειά

Harvey888

Hi there. Nice to meet you. I'm a Javascript expert and FULL Time Developer. I have checked your requirements carefully. I have rich experience in Javascript, PHP, Html, CSS, JS UI design, etc. I can start work i Περισσότερα

$155 USD σε 3 μέρες
(277 Αξιολογήσεις)
7.9
zhangyingtai

Hi I am very familiar with Regex and I am confident with this project. I got what you want and can complete the project in a day. Kind Regards, Yongtao

$111 USD σε 3 μέρες
(128 Αξιολογήσεις)
7.6
tzo

Hello, can help you on this. Have a lot of experience in data processing and automations. Can do it in perl which is availble on base mac os.

$40 USD σε 1 μέρα
(284 Αξιολογήσεις)
7.0
liveexperts123

typing.. ............... .................

$155 USD σε 3 μέρες
(33 Αξιολογήσεις)
6.5
avinaykumarweb

I will do this I read the steps you involved but I will do further google so get exact what you needed I am available or this project Tanks

$188 USD σε 3 μέρες
(58 Αξιολογήσεις)
6.0
AhmadSameer

Hey I'm a System Admin with coding skills. I had coded tons of scripts using Python, PHP, Bash, etc. I downloaded the attached XML file and checked it. I can help.

$155 USD σε 3 μέρες
(49 Αξιολογήσεις)
5.7
rlo56467a9097547

Hi there i can do it right now contact me

$155 USD σε 10 μέρες
(75 Αξιολογήσεις)
5.4
Tristan95

Hi I see your requirements and I can do this with the powerful tool called awk. I will create a script that you can run on a *nix machine.

$88 USD σε 1 μέρα
(0 Αξιολογήσεις)
0.0