Find those html tags that contain only 3 words (with regex)
-
Hello. For example.
<p class="pintem">Since you loose</p><p class="pintem">Truly creative works remain exclusively in the care of the creative man</p>Is it possible to find only those html tags that contain only 3 words (with regex). In my case, only the first line?
I made a regex, but doesn’t work
FIND:
(<p class="pintem">)\w{1,3}(</p>) -
@neculai-i-fantanaru said in Find those html tags that contain only 3 words (with regex):
Is it possible to find only those html tags that contain only 3 words (with regex). In my case, only the first line?
Yes.
Find:
(?-is)<p class="pintem">\w+?\h\w+?\h\w+?</p> -
@alan-kilborn said in Find those html tags that contain only 3 words (with regex):
(?-is)<p class=“pintem”>\w+?\h\w+?\h\w+?</p>
thank you
-