JavScript Regex Replace Script

In Progress Posted Apr 20, 2014 Paid on delivery
In Progress Paid on delivery

I want a JavaScript function which does a search/replace on a block of text.

This is a tricky "Generated Regex" task so you must be a Regex Guru!!

I have a dictionary of terms and want to generate a Regex to locate simplified versions of each in plain text or HTMl, replacing them with the complete version. For example, we have a dictionary term "Aḥmad" (with dotted 'ḥ'). The regex would replace all iterations of "Ahmad" with "Aḥmad". That would require generating a regex for "Aḥmad" something like:

[url removed, login to view](/A[h|ḥ]mad/g, "Aḥmad")

For a full description, see the GitHub repository I created for this script:

[url removed, login to view]

JavaScript Perl Shell Script

Project ID: #5833550

About the project

4 proposals Remote project Active Apr 27, 2014

4 freelancers are bidding on average $34 for this job

auxilnet

Hi, My name is Elias Hamaz and I can write a script in Perl to replace words. I would like to add this suggestion to the ways of doing this: 1: Create regular expressions by script for each dictionary term. This More

$30 USD in 1 day
(1 Review)
2.7
StudnaTomas

Hi, I already made script like this, so I know it well. I can start working right now, so just contact me and I will write you more.

$35 USD in 1 day
(2 Reviews)
1.4
KHIZARMASOOD

Hi, I am an experienced developer , completed many projects . I am interested in this project because ,I can do this task easily. I am looking forwards to hear from you. If you want me to do this task, please let me kn More

$50 USD in 2 days
(0 Reviews)
0.0
lucaadrian

I have 3 years of regex experience in antispam field. I also know Perl, some javascript and I could easily made that function for you if you give me a positive feedback.

$20 USD in 2 days
(0 Reviews)
0.0