Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #40878

Re: trying to match a "word", having difficulty with a "Lookbehind assertion"

From ram@zedat.fu-berlin.de (Stefan Ram)
Newsgroups comp.lang.javascript
Subject Re: trying to match a "word", having difficulty with a "Lookbehind assertion"
Date 2022-05-21 16:08 +0000
Organization Stefan Ram
Message-ID <generalization-20220521170814@ram.dialup.fu-berlin.de> (permalink)
References <t6aath$15hc$1@gioia.aioe.org> <d4isn07io5cf.h6kqtics0wrc.dlg@40tude.net>

Show all headers | View raw


JJ <jj4public@gmx.com> writes:
>For matching just

  Probably the OP needs some generalization, but only he knows
  which generalization exactly. For one example, on the console,

|>|"alpha beta g****d*** eps".replace( /.*?\b([\w*]*\*[\w*]).*/, '$1' )
| |
|<|"g****d***"

  .

Back to comp.lang.javascript | Previous | Next | Find similar | Unroll thread


csiph-web