Kapalı

Tricky regular expression challenge, need an expert

We need a regex expert.

In our system, Rexeg comes in the form of: RE={expression}, RV={substitution}

This regex remove periods from names like M.C. Hammer

RE={^(\w{1})([\.]{1})(\s*)(\w{1})(\.\s|\s|\.)(\w{1})([^\.]{1})},RV={$1$4 $6$7}

It currently works, except for these examples:

THE C.A. LAWTON CO

New England Bank N.A.

E.T. & L. CORP

CW. WRIGHT CONSTRUCTION Co, INC

We need the regex fixed so it works on all cases. The full INPUT and expected OUTPUT is below. We will expect you to test on a site like [login to view URL] to verify it works. The current regex work on all but these 3 cases.

INPUT SAMPLES (test on [login to view URL])

W.I CLARK COMPANY

R. D. SCINTO, INC.

H.O. PENN MACHINERY COMPANY, INC.

C. H. NICKERSON & COMPANY INC

M.C. Hammer Coordinator

[login to view URL] & SONS

THE C.A. LAWTON CO

New England Bank N.A.

E.T. & L. CORP

CW. WRIGHT CONSTRUCTION Co, INC

O.R.A.C.L.E

T.N.T. EQUIPMENT COMPANY

[login to view URL]

WEST CORPORATION

MIG CORPORATION INC.

INTEGRATED COMPUTER SOLUTIONS, INC.

USNE INC.

C I B Corporation

S P A R K

R. ZOPPO CORP.

T U PARKS CONSTRUCTION CO

C COAKLEY RELOCATION SYSTEMS

EXPECTED OUTPUT

WI CLARK COMPANY

RD SCINTO, INC.

HO PENN MACHINERY COMPANY, INC.

CH NICKERSON & COMPANY INC

MC Hammer Coordinator

HM NUNES & SONS

THE CA LAWTON CO

New England Bank NA

ET & L. CORP

CW WRIGHT CONSTRUCTION Co, INC

O.R.A.C.L.E

T.N.T. EQUIPMENT COMPANY

[login to view URL]

WEST CORPORATION

MIG CORPORATION INC.

INTEGRATED COMPUTER SOLUTIONS, INC.

USNE INC.

C I B Corporation

S P A R K

R. ZOPPO CORP.

T U PARKS CONSTRUCTION CO

C COAKLEY RELOCATION SYSTEMS

Beceriler: Regular Expressions

Daha fazlasını gör: regular expression examples extract data, regular expression freelance, extract data html page regular expression, javascript regex test, perl regex tester, uses of regular expression, generate regex, regex to english, regular expression examples, regex replace online, regex engine, str_replace regular expression, sms message regular expression php, regular expression spaces, regular expression extract information html, stl store regular expression, mysql regular expression perl, extract table html page regular expression, regular expression data table, convert links clickable regular expression php

İşveren Hakkında:
( 157 değerlendirme ) Oconomowoc, United States

Proje NO: #20902792

Bu iş için 3 freelancer ortalamada $22 teklif veriyor

purplemaestro

Hello. My name is Muhammad Hassan. I have high level expertise in writing complex regular expressions. I have read your requirements carefully and I can start right now. Please share other details with me so that I can Daha Fazla

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% USD
(0 Değerlendirme)
0.0
ramsaro36

Hi, I understand your requirement. please let's discuss more about the requirement.. I can deliver this in couple days..

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% USD
(0 Değerlendirme)
0.0
vijiSmiles

I have worked on similar structure

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% USD
(0 Değerlendirme)
0.0