Regular Expression
- or -
Post a project like this2030
$$
- Posted:
- Proposals: 2
- Remote
- #2137115
- Awarded
Description
Experience Level: Intermediate
I need the below regular expression edited to be case insensitive and add the full and abbreviated names for "loop", "highway" and "circle".
So, "hwy" and "lp" and "cir" would be valid.
\d+(\s+\w+){1,}\s+(?:st(?:\.|reet)?|dr(?:\.|ive)?|pl(?:\.|ace)?|ave(?:\.|nue)?|rd|road|lane|drive|way|court|plaza|square|run|parkway|point|pike|square|driveway|trace|park|terrace|blvd)/
So, "hwy" and "lp" and "cir" would be valid.
\d+(\s+\w+){1,}\s+(?:st(?:\.|reet)?|dr(?:\.|ive)?|pl(?:\.|ace)?|ave(?:\.|nue)?|rd|road|lane|drive|way|court|plaza|square|run|parkway|point|pike|square|driveway|trace|park|terrace|blvd)/
Mike G.
100% (22)Projects Completed
15
Freelancers worked with
15
Projects awarded
71%
Last project
5 Aug 2023
United States
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
Hi,
Do you want your regex will support these 6 - loop,lp,highway,hway,circle,cir (case insensitive) . Do you have anything else that need to be supported by your regex?
Regards
Seema
708458
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies