Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Eric
    @sliceofbytes
    give me one sec
    which language for the regex?
    kczx3
    @kczx3
    PCRE
    well, using with grep
    but was passing the -P flag
    Eric
    @sliceofbytes
    (?<=zoneformat\()(\w\.birth_dt_tm)
    kczx3
    @kczx3
    That finds the opposite of what I was looking for. But changing the ?<! seems to reverse it
    Eric
    @sliceofbytes
    ahh my bad ya negative lookbehind instead of positive
    kczx3
    @kczx3
    no worries. Thanks much!
    Odell Joseph
    @dragonpiper
    Hello
    Eric
    @sliceofbytes
    sup
    Odell Joseph
    @dragonpiper
    I'm trying to use this pattern with the services ((echo|bravo|charlie)(?:[\s,]+))+
    but all the of the matches are the same word
    Eric
    @sliceofbytes
    Do you have an example of what you are trying to match
    and what you are trying to avoid matching
    Odell Joseph
    @dragonpiper
    I'm expecting Full Match: with the services tango, echo, bravo | Group 1: tango | Group 2: echo | Group 3: bravo
    Eric
    @sliceofbytes
    Something like this
    with the services(?:\s)((cat)?(tango)?(echo)?(bravo)?(?:[,\s]+)?)+
    Daniel Sánchez
    @panconjugo_twitter
    Hello everyone, could someone help me understanding how to create a validation for a specific format? I need to check this two formats

    KYYYY#### (9 characters - the last 4 are digits)
    KDEYYYY##### (12 characters - the last 5 are digits)

    where YYYY is the year

    those can be uppercase or not
    any idea?
    Eric
    @sliceofbytes
    pretty easy
    Daniel Sánchez
    @panconjugo_twitter
    @sliceofbytes for me it's really difficult to understand how it works unfortunately :(
    Eric
    @sliceofbytes
    ([KDE]+)(\d{4})(\d{4,5})
    basically saying
    Daniel Sánchez
    @panconjugo_twitter
    @sliceofbytes awesome! thanks a lot. So if I also want to allow lowercase I would just do this? ([KDEkde]+)(\d{4})(\d{4,5})
    Eric
    @sliceofbytes
    @panconjugo_twitter ya, and maybe some slight modification depending on what you want to filter out
    Eric
    @sliceofbytes
    Is there a better way to do this regex
    seuaCoder
    @seuaCoder

    Hello,

    this regex matches spin tag { text | text } with nested supported. {(((?>[^{}]+)|(?R))*)}

    I would like to replace { and } by [S] and [/S]

    this is my attempt : [S](((?>[^[S][\/S]]+)|(?R))*)[\/S] but it matches only the first tags in a text
    NiX
    @nixfreakz_twitter
    I have file-dyhEi0bPnHk.jpg wouldn't this regex work to find " \D\w+ ?
    Alexis Georges
    @SuperITMan

    Hello everyone :blush:
    I'm trying to have a regex matching this I mention a @username to test but which does not match this I mention a @scope/package to test
    I made this regex but it is not working :confused:

    /\B@[a-z]{1,30}(?!\/)/

    Could anyone help me for this ? :blush:

    What I want is when there is / just after @scopeto not match...

    Thanks

    Eric
    @sliceofbytes
    ^.*@((?!\/).)*$
    @SuperITMan
    Alexis Georges
    @SuperITMan

    Actually, I should precise my ask :blush:
    Let's take the following string

    this is a @username1 mention with another @username2 and a @scope/package mention

    The @username1 and @username2 should match but not the @scope/package

    @sliceofbytes thanks for your suggestion anyway !

    My current (not working) regex is: /\B@(\w{1,40})(?!\/)\s\w[^\/]/

    But if my text is this is a @username it will not match

    Thanks again for your help!
    Eric
    @sliceofbytes
    (@\w+(?!\/)(?=\s))
    @SuperITMan
    Alexis Georges
    @SuperITMan
    Thanks @sliceofbytes it works well :blush:
    Eric
    @sliceofbytes
    @SuperITMan no problem
    brunomarkman
    @brunomarkman
    Someone can help me to find some examples for <Blazorise.TextEdit MaskType="MaskType.RegEx" EditMask="< what can I put here??? >" /> I tried to use regular expression in many different ways but no luck. Thanks guys.
    Rajat
    @rajataudichya
    hello, I need some help with regex
    I search the whole damn internet but I was not able to get the right regex to capitalize the first letter that comes after a colon
    M: hello there.
    M: Hello, there.