Extract Facebook URL using Regular Expressions

Dokončeno Zveřejněno před 6 lety K zaplacení v momentě doručení
Dokončeno K zaplacení v momentě doručení

Hi there Friend!

Can you fix this Regexp match for me? ---> (?:(?:http|https):\/\/)?(?:www.)?[login to view URL]\/(?:(?:\w)*#!\/)?(?:pages\/)?([\w\-]*)?

A full test-set is given in a link below and can be tested out here ->: [login to view URL] (Where you can modify the actual Regex code and see the results immediately):

Click here to get access to 1092 Facebook Profiles: ----> [login to view URL]

-----------------------------------------------------------------------------------------------------------------------------------------

For example: Using "[login to view URL]"

It captures only this: --> [login to view URL] (Which is not good enough)

It should also include the numerical part at the end: [login to view URL]

[login to view URL] captures only [login to view URL] (wrong)

[login to view URL] captures only

[login to view URL] (wrong)

[login to view URL] captures only [login to view URL] (wrong)

It doesn't need to capture the last unneccessary endings, only what is required for the Facebook Profile. /?fref=nf , or ?fref=ts, or ?ref=hl

JavaScript PHP Python Regulární výrazy Sběr dat z webových stránek

Identifikační číslo projektu: #16173514

O projektu

9 nabídek Projekt na dálku Aktivní před 6 lety

Uděleno uživateli:

AndyPer

Hi, I can send you my regexp now! Thanks................................................... Andy.

€14 EUR za 0 dní
(5 recenzí)
4.0

9 Freelnceři na tento projekt zveřejňují nabídky v průměru €19

MimiFL

Hi, i m serious freelancer with 100% completion rate and i believe i can help you. If you are interested please message me and we will go together through examples and i believe i can fix this in matter of minutes. Další

€14 EUR za 0 dní
(307 Recenzí)
6.7
mahfuz80

A proposal has not yet been provided

€29 EUR za 1 den
(23 Recenzí)
5.5
Bhawandtu

A proposal has not yet been provided

€14 EUR za 1 den
(37 Recenzí)
4.3
BeyoutiF00L

BeYoutifool designs, are creative, unconventional, and impeccably unique. These designs give personality to your brand. The convergence of brilliance and simplicity, is the inception of your success.

€8 EUR za 3 dní
(6 Recenzí)
2.1
Kamushek51

A proposal has not yet been provided

€20 EUR za 1 den
(0 Recenzí)
0.0
shwetagupta099

Developed fully functional responsive prototypes based on Business Requirements using HTML/HTML5, CSS3, JavaScript and JQuery. Worked in both Agile and Waterfall settings. Tested front-end code in multiple browsers Další

€29 EUR za 1 den
(0 Recenzí)
0.0
contactshubhra

I am a web development Experts with 9 years of experience in website development. Corporate Website, Professional or Personal blog, ecommerce, Membership or Buddypress based social networking website

€23 EUR za 1 den
(1 recenze)
0.0