How to remove a pseudo-selector of the regular season?


Warning: count(): Parameter must be an array or an object that implements Countable in /home/styllloz/public_html/qa-theme/donut-theme/qa-donut-layer.php on line 274
0 like 0 dislike
39 views
Good day, how can a regular expression to remove the pseudo selector to the rule ?
Example
p: hover{ } b:ntd-child(2n){ } a:first-letter{ display:block; } a::first-letter{ display:block; }


To become

b{ } p{ } a{ display:block; } a{ display:block; }


I wrote, but it removes everything https://regex101.com/r/Ij3WaL/4
by | 39 views

1 Answer

0 like 0 dislike
by

Related questions

110,608 questions
257,186 answers
0 comments
35,536 users