regex - Replace a word based on a pattern in Javascript -
I am converting SVG to PNG and I need to remove the angle attributes in my SVG.
& lt; Rect fill = "# F9B24F" ry = "5" rx = "5" ng-entry-y = "{{node.rectY}}" ng-at-x = "{{node.actex}}}" Ng- Attr-height = "{{chart.height}}" ng-entry-width = "{{chart.width}}" y = "10" x = "20" height = "80" width = "160" & gt; ;
Let me output the
and lt; Rect fill = "# f9b24f" ry = "5" rx = "5" y = "10" x is required = "20" height = "80" width = "160" & gt;
I am trying to convert to javascript using string replay method. I have tried the following in the console, but it is not working
If you can trust the conglomerate features
Comments
Post a Comment