Lukket

Regular Expression for Domains

Hi, I need a regular expression that can extract the base domains from various lines of strings that may contain 1 or multiple domains e.g.

[url removed, login to view]

[url removed, login to view]

should return:

[url removed, login to view]

[url removed, login to view]

[url removed, login to view]

I have an expression that seems to work (but only returns the first domain in a line). You can modify this if you like:

([\w-]+\.)+[a-zA-Z]{2,4}+(?![a-zA-Z])

It would be nice to keep it clean of other strings that end with 3 letter extensions like [url removed, login to view] but that is not required. It would also be good to keep it as simple and fast as possible. Thanks for bidding.

Færdigheder: C programmering, C# Programmering, Software Arkitektur, VB.NET

Se mere: programming expression, expression programming, expression, php expression, regular base, letter domain extensions, regular expression php, multiple domains, php regular expression, website1, php extract domain, register domains, extract domain php, extract regular expression, software strings, extract domains, php regular expression extract, regular expression image url, regular expression extract, donors year end letter, regular expression images url, programming domains

Om arbejdsgiveren:
( 6 bedømmelser ) Naples, United States

Projekt-ID: #6045350

22 freelancere byder i gennemsnit $24 for dette job

mrnewict

Hi, I'm an expert about C#. I have read your project and confident that can handle this. I can write for you a regular expression now to filter the domain like your requirement. Best regards Mr New

$30 USD in 0 dage
(19 bedømmelser)
5.4
zamoldar

A proposal has not yet been provided

$30 USD på 1 dag
(18 bedømmelser)
5.3
goswamiarpit475

Hi Sir, I am ready to work for you.I have 4 years of experience in C/C++/Php/C#/sql. please see some of my works also check my reviews you will get better idea about my skill.I deliver quality work within time frame Mere

$25 USD på 1 dag
(17 bedømmelser)
5.0
xn2oc

Hello, I can come up with it in about 20 minutes. Regards, Ledio .

$30 USD på 1 dag
(26 bedømmelser)
5.0
waleedmm

Hi, I've used .net Regular expression before and particularly in c#. is regex pattern all what you want only? and not the c# code to compile it? please confirm. I may use different pattern as a start rather than you Mere

$25 USD in 3 dage
(52 bedømmelser)
4.9
FrozenMem

A proposal has not yet been provided

$25 USD på 1 dag
(25 bedømmelser)
4.8
super2lao

A proposal has not yet been provided

$30 USD på 1 dag
(15 bedømmelser)
4.8
FernandoCanizo

Hello. Can you provide sample data? Not much, just enough lines to get several possible cases tested.

$34 USD på 1 dag
(3 bedømmelser)
3.4
cungthehung

Hi. Certainly i can do it for you with that price. I did completed 100% projects for all my employers and they are very satisfied with my result. You can check it in my profile. Hope we have a deal. Thank you!

$25 USD in 0 dage
(3 bedømmelser)
2.8
alinrzv

A proposal has not yet been provided

$30 USD på 1 dag
(7 bedømmelser)
2.4
chetanchauhan87

Hi... I am a .net Developer with more than 5 years of experience in c#, vb.net. I read your requirement and found easy to implement within 1-2 hours. Feel free to chat via skype: chetanchauhan1987 Looking forward Mere

$15 USD in 0 dage
(1 bedømmelse)
1.1
gianglv

I can complete the task with my expertise in C# programming and Regular Expression. I'll deliver the work in time with best quality.

$20 USD på 1 dag
(1 bedømmelse)
0.0
undersky1230

Hi. I have a lot of experience in c, c#, vb. I will satisfy you within 1 day. Best regards.

$30 USD på 1 dag
(1 bedømmelse)
0.0
iamsameer

I am C#, VB.NET developer. I used regular expressions in my projects many time. I fully understood your problem and I will give you a solution for your problem.

$25 USD på 1 dag
(0 bedømmelser)
0.0
polansantiago

A proposal has not yet been provided

$15 USD på 1 dag
(0 bedømmelser)
0.0
mayurbhaliya6015

A proposal has not yet been provided

$25 USD på 1 dag
(0 bedømmelser)
0.0
wprice

I've been working with Linux and regular expressions for more years than I care to remember (since around 1992), and this should be straightforward. Do you have any more details about how the regular expression will Mere

$25 USD på 1 dag
(0 bedømmelser)
0.0
schealex

i've got a good experiance on working with regular expressions and did projects like this in the past for different companys. Won't take too long to create a function that does exactly fullfill your needs. message m Mere

$25 USD på 1 dag
(0 bedømmelser)
0.0
jeffpanici75

I have code that handles these requirements. It's currently written in C# but I can rewrite it in anything you might need.

$15 USD på 1 dag
(0 bedømmelser)
0.0
davidtriune

Try: ^(?:http://)?(www\.)?([^/]+) capture: \1 It assumes: 1. we are allowed to match extra things, but use captures (i.e. \1, \2, etc.) to pick which part of the string you want. 2. in the example where you Mere

$15 USD in 0 dage
(0 bedømmelser)
0.0