How do I do a regex search and replace in sublime text 2?

后端 未结 3 1445
南方客
南方客 2020-12-15 10:46

I want to remove inline style from an html document in ST2.

I imagine my regex will be something like this style=\\\"*\\\"

If that\'s wrong, it doesn\'t

3条回答
  •  一个人的身影
    2020-12-15 10:55

    I had a similar task to perform, the regex I used in the manner that Nas62 suggested was

    style=\"(.*?)\"
    

提交回复
热议问题