In Progress

JavScript Regex Replace Script

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]

Skills: Javascript, Perl, Shell Script

See more: regex is, regex in c, regex.h, regex example, regex c, regex &, example shell script, Regex, c++ regex, c regex, replace text html, html regex, mad script, html text replace, search replace script, shell script guru, guru script, script guru, search replace, javascript search script

About the Employer:
( 27 reviews ) Granite Bay, United States

Project ID: #5833550

4 freelancers are bidding on average $34 for this job


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)

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)

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)

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)