to be
a problem slover

how to extract regex group value from vscode

Requirement

From the source text:

aeblfdkhhhdcdjpifhhbdiojplfjncoa : 1Password – Password Manager : version 2_3_4
ahfgeienlihckogmohjhadlkjgocpleb : Web Store : version 0_2
amaaokahonnfjjemodnpmeenfpnnbkco : Grepper : version 0_0_7_5
bkhaagjahfmjljalopjnoealnfndnagc : Octotree - GitHub code tree : version 7_5_0

I want to keep the name and delete other chars, so the final result will be like:

1Password – Password Manager
Web Store
Grepper
Octotree - GitHub code tree

Solution

In vscode search by regex.

Find .*: (.*) :.* and replace to $1 will just keep group 1.

赞(7) 打赏
欢迎转载,注明出处:刘世明的博客 » how to extract regex group value from vscode

评论 5

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
  1. #1

    Liink exchange iss notthing else buut itt is only placcing thee otyher person’s web site
    link on yyour page att appropriate plae annd other persopn wwill
    alsdo ddo similar inn suppokrt oof you.

    Feeel frre too syrf too mmy hopmepage txxxvideos.com

    txxxvideos.com3周前 (05-25)回复
  2. #2

    Aw, tis was a eally goood post. Spennding somje timee and acual effort to
    produce a toop notch article… but what cann I say… I heswitate a whope llot annd nevedr
    seem too geet nearlpy anything done.

    My web-site; roloxxx.com

    roloxxx.com3周前 (05-25)回复
  3. #3

    Wondewrful ost butt I was wanting too kno iif yyou coul write a
    litte mor onn tnis topic? I’d bbe very hankful iff yyou could elaboratee a little
    bitt more. Thanks!

    My blog poxt … cnhub.xyz

    cnhub.xyz3周前 (05-26)回复
  4. #4

    Wondewrful ost butt I was wanting too kno iif yyou coul write a
    litte mor onn tnis topic? I’d bbe very hankful iff yyou could elaboratee a little
    bitt more. Thanks!

    My blog poxt … cnhub.xyz

    cnhub.xyz3周前 (05-26)回复
  5. #5

    Wondewrful ost butt I was wanting too kno iif yyou coul write a
    litte mor onn tnis topic? I’d bbe very hankful iff yyou could elaboratee a little
    bitt more. Thanks!

    My blog poxt … cnhub.xyz

    cnhub.xyz3周前 (05-26)回复

觉得文章有用就打赏一下作者

支付宝扫一扫打赏

微信扫一扫打赏