Using Sublime Text 3. Im lokking for a ([b0-9-])
strings in my text docs. Having trouble to replace it with single character or a few. eg: b110-1.jpg
& b110-2.jpg
should be replaced with pic
so after all this will look like 1.jpg
or pic.jpg
You need to make the character class to repeat one or more times. This should be achieved by adding +
quantifier next to that character class.
[b0-9-]+
replace with pic
or 1
.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.