BigEfromDaBX 25 Posted September 6, 2014 Report Share Posted September 6, 2014 (edited) How do I match the facebook ID from here a href="https://www.facebook.com/ericmadrid?fref=grp_mmbr_list" The result should be ericmadrid Thanks for your help Edited September 6, 2014 by BigEfromDaBX Quote Link to post Share on other sites
dmbfan 9 Posted September 12, 2014 Report Share Posted September 12, 2014 Probably not the most elegant way, but this works: set(#facebook id, "a href=\"https://www.facebook.com/ericmadrid?fref=grp_mmbr_list\"", "Global")set(#facebook id, $replace(#facebook id, "a href=\"https://www.facebook.com/", $nothing), "Global")set(#facebook id, $replace regular expression(#facebook id, "\\?.*", $nothing), "Global") 1 Quote Link to post Share on other sites
BigEfromDaBX 25 Posted September 12, 2014 Author Report Share Posted September 12, 2014 Thanks DMBFan. I totally forgot about this post. Wondered why I didnt get any quick replies. Maybe its because I failed to mention that I was trying to find out how to match it with REGEX. but I found it already. Here is what I use. [-.0-9a-zA-Z]+(?=\?fref=grp_mmbr_list" tabindex=“) Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.