How does js intercept the degree of rotation after obtaining the transform of the element?

 :transform: rotateZ(352.68915deg)
replace(/[^0-9]/ig,"")
Sep.01,2021

/ [0-9.] + deg/ig
tutorials and tools


text.match (/ ^ [0-9] + (. [0-9] *)? $/)

Menu