A Simple Reg.Expression fix to extact Facebook Profile more accurately:
€8-30 EUR
Closed
Posted about 6 years ago
€8-30 EUR
Paid on delivery
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