Awesome q2a theme
Ask us anything
Toggle navigation
Email or Username
Password
Remember
Login
Register
|
I forgot my password
Questions
Unanswered
Tags
Users
Ask a Question
How to remove a css rule in the regular season?
0
like
0
dislike
26
views
Good time of day. Please tell me how a regular expression to remove nameless rule in css ?
Example:
{ color: red; }
I wrote a regular season
/((\|\\s{2,3})\\{)(.+?)\\}/is
It works, but deletes and such rules
a { color: red }
css
regular-expressions
asked
Apr 13, 2019
by
nor1m
|
26
views
answer
comment
Please
log in
or
register
to add a comment.
Please
log in
or
register
to answer this question.
1
Answer
0
like
0
dislike
https://regex101.com/r/OFX59Z/7
Here you can change the number of transfers after defining the selector, duplicating [\\w)] with the addition of the \\s within the group "lookbehind" (?<!). А в [\\w)] добавлять ещё какие-нибудь символы для предотвращения удаления.
answered
Apr 17, 2019
by
lidacriss
ask related question
comment
Please
log in
or
register
to add a comment.
Related questions
0
like
0
dislike
1
answer
How to remove a pseudo-selector of the regular season?
asked
Apr 11, 2019
by
nor1m
css
regular-expressions
0
like
0
dislike
1
answer
As for notepad++ to remove the tag of the regular season, matching the condition?
asked
Jun 10, 2019
by
travelator
regular-expressions
notepadpp
0
like
0
dislike
1
answer
To remove all don't need the text numbering with the help of the regular season?
asked
May 22, 2019
by
madc0de
regular-expressions
0
like
0
dislike
2
answers
As the regular season to remove everything before the first letter?
asked
May 11, 2019
by
webinar
javascript
regular-expressions
0
like
0
dislike
3
answers
How to remove a regular season text {lots of text}?
asked
Apr 9, 2019
by
TomasHuk
regular-expressions
microsoft-office
Most popular tags
javascript
php
css
html
jquery
wordpress
python
linux
web-development
mysql
android
windows
java
layout
c#
computer-networks
node.js
cpp
iron
yii
vue.js
1C-Bitrix
react
laravel
django
nginx
system-administration
search-engine-optimization
api
ubuntu
the-it-education.
ajax
sql
programming
hosting
cms
design
apache
google-chrome
bootstrap
Vkontakte
macos
google
network-administration
git
laptops
algorithms
regular-expressions
unity-game-engine
email
angular
database
network-equipment
software
wooсommerce
debian
.net
ios
information-security
video
law-in-it
browsers
books
parsing
wi-fi
game-development
career
htaccess
postgresql
telegram
mikrotik
mobile-development
ruby-on-rails
the-domain-name-system
modx
Yandex
c
json
opencart
Habr
freelance
vpn
asp.net
windows-server
symfony
bots
hard-drives
math
qt
DIY
audio
frontend
payment-system
bash
electronics
gulp.js
user-interface
docker
online-shopping
110,608
questions
257,187
answers
0
comments
40,796
users