Find
<(\w+) [^>]+>
and replace it with
<\1>

The first one means "< followed by one or more letters (which we'll keep 
for the replacement) followed by a space, some stuff that is not >, and 
then >".
This means that there can't be a > (in a string or something) before the 
closing > of the HTML tag - should normally not be a problem.


On Friday, November 3, 2017 at 2:44:26 PM UTC+1, Mario Burga wrote:
>
> One more annoyance, as it would be for this replacement
>
>
> Before
>
> <p style="text-align:center">Text 1 hellow <b>Jhon</b></p>
>
> <p style="font-size:12px">Text 2 </p>
>
> after ( clear <p> tag
>
> <p>Text 1 hellow <b>Jhon</b></p>
>
> <p>Text 2 </p>el código aquí... 
>
>
>
> Thank you very much for your help
>
> El jueves, 2 de noviembre de 2017, 15:08:30 (UTC-5), Kerri Hicks escribió:
>>
>> Find (using grep):
>> <span>(.*?)</span>
>>
>> Replace:
>> \1
>>
>> On Thu, Nov 2, 2017 at 2:41 PM, Mario Burga <[email protected]> wrote:
>>
>>> *TAG EMPTY:  <span>*
>>>
>>> *TAG NO EMPTY: <span style="font-size:12px"> *
>>>
>>>
>>> El jueves, 2 de noviembre de 2017, 13:36:55 (UTC-5), Marc Simpson 
>>> escribió:
>>>>
>>>> How are these tags empty? The first span contains "Propiedades", etc.
>>>>
>>>> On Thu, Nov 2, 2017 at 11:32 AM, Mario Burga <[email protected]> 
>>>> wrote:
>>>>
>>>>>
>>>>> <p><span> Propiedades </span> <em> <span> (calculadas y almacenadas), 
>>>>> </span> </em> <span> funciones, closures, m</span>é<span>todos. 
>>>>> inicializadores, ... </span></p>
>>>>>
>>>>> after
>>>>>
>>>>>
>>>>> <p> Propiedades<em>(calculadas y almacenadas),</em> funciones, 
>>>>> closures, métodos. inicializadores, ...</p>
>>>>>
>>>>>
>>>>> -- 
>>>>> This is the BBEdit Talk public discussion group. If you have a 
>>>>> feature request or would like to report a problem, please email
>>>>> "[email protected]" rather than posting to the group.
>>>>> Follow @bbedit on Twitter: <http://www.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 [email protected].
>>>>> To post to this group, send email to [email protected].
>>>>> Visit this group at https://groups.google.com/group/bbedit.
>>>>>
>>>>
>>>> -- 
>>> This is the BBEdit Talk public discussion group. If you have a 
>>> feature request or would like to report a problem, please email
>>> "[email protected]" rather than posting to the group.
>>> Follow @bbedit on Twitter: <http://www.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 [email protected].
>>> To post to this group, send email to [email protected].
>>> Visit this group at https://groups.google.com/group/bbedit.
>>>
>>
>>

-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or would like to report a problem, please email
"[email protected]" rather than posting to the group.
Follow @bbedit on Twitter: <http://www.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 [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/bbedit.

Reply via email to