Removing HTML elements from a line
-
Hey, I am trying to remove some HTML elements from a line of code using Regex, but I do not understand it at all.
This is the code:
GEN<i>O</i>DEF1N<u>0</u>2
This is the output that I want:
GENODEF1N02
So basically the elements that shall be removed are:
<i></i><u></u>
Every help response will be appreciated.
-
Replace <[^<]+> with nothing
-
Worked Ruri. Ly
-
u will parse it with strings and remove the codes with function translate u will replace the codes with nothing
<i>:
</i>:
<u>:
</u>:
-
@o-bkh my solution is way better though
-
@Ruri Hi Plz can you tell mehaw to remove "href css" file in openbullet
-
@kira01 what? Post an example