A have a string like '<node attr="some_value">'. How to remove attr="some_value" from this string? I know only attr attribute name and don’t know "some_value" value.
P.S. I’m using JavaScript but solution for any language will be great. Thanks in advance.
A have a string like ‘<node attr=some_value>’ . How to remove attr=some_value from this
Share
Try this: Needs jquery.