Hi Iain:

This works (maybe not the cleanest way but it works):

Search for this:

(<a href=)(.*)>(.*)(</a>)

Replace with this:

\3



> On Jan 26, 2020, at 3:30 PM, Sammy Banawan <sbana...@gmail.com> wrote:
> 
> I have <a 
> href="https://www.facebook.com/somename1?fref=profile_friend_list&amp;hc_location=profile_browser
>  
> <https://www.facebook.com/somename1?fref=profile_friend_list&amp;hc_location=profile_browser>"
>  
> data-gt="{&quot;engagement&quot;:{&quot;eng_type&quot;:&quot;1&quot;,&quot;eng_src&quot;:&quot;2&quot;,&quot;eng_tid&quot;:&quot;100000180221704&quot;,&quot;eng_data&quot;:[]}}"
>  
> data-hovercard="/ajax/hovercard/user.php?id=100000180221704&amp;extragetparams=%7B%22hc_location%22%3A%22profile_browser%22%7D"
>  data-hovercard-prefer-more-content-show="1">Some Name 1</a>
> 
> and I just want to keep Some Name 1. The HTML I want to strip entirely.
> 
> Obviously, the file has 
> <a 
> href="https://www.facebook.com/somename2?fref=profile_friend_list&amp;hc_location=profile_browser
>  
> <https://www.facebook.com/somename2?fref=profile_friend_list&amp;hc_location=profile_browser>"
>  
> data-gt="{&quot;engagement&quot;:{&quot;eng_type&quot;:&quot;1&quot;,&quot;eng_src&quot;:&quot;2&quot;,&quot;eng_tid&quot;:&quot;100000180221704&quot;,&quot;eng_data&quot;:[]}}"
>  
> data-hovercard="/ajax/hovercard/user.php?id=100000180221704&amp;extragetparams=%7B%22hc_location%22%3A%22profile_browser%22%7D"
>  data-hovercard-prefer-more-content-show="1">Some Name 2</a>
> 
> etc. as well.
> 
> I can't figure out the regex pattern for this. Any help would be appreciated. 


--
Christian Boyce
Christian Boyce and Associates
Mac, iPhone, and iPad Consultants

For appointments, please call the office: 424-354-3548.
We do not make appointments by email or text. We're old-fashioned that way.

Read our latest blog post: ‌How to rearrange the order of menubar icons on a 
Mac <https://oneminutemacman.com/rearrange-menubar-icons-mac/>‌

Current location and temperature: ‌‌‌
San Antonio, United States: ☀️ +59°F
‌

-- 
This is the BBEdit Talk public discussion group. If you have a feature request 
or need technical support, please email "supp...@barebones.com" rather than 
posting here. Follow @bbedit on Twitter: <https://twitter.com/bbedit>
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bbedit/B5579154-AA79-4AA8-95C1-1A6CD96CCAC7%40christianboyce.com.

Reply via email to