Regex tester
Pattern
Input
Hi team ,

I want to extract “WEF0399876” from below examples -

FW: Fw: PCI SSC Invoice Enclosed - WEF0399876
aiagfajk asdh-jkkWEF0399876ds
FW: Fw: PCI SSC Invoice Enclosed - fsdfsWEF0399876 fwfggwg
basically WEF+“all integers till a space or non-integer comes”
this should not work for

4.FW: Fw: PCI SSC Invoice Enclosed - fsdfsWEFL0399876 fwfggwg
5.FW: Fw: PCI SSC Invoice Enclosed - fsdfsWEF023WEF0399876 fwfggwg (two WEFs in the same line)\
Options
Replacement
Click the context tab to see replacements.
3 matches found in about 1 millisecond.
IndexPositionMatched String
0104WEF0399876
1133WEF0399876
2187WEF0399876
Hi team ,
​
​I want to extract “WEF0399876” from below examples -
​
​FW: Fw: PCI SSC Invoice Enclosed - WEF0399876
​aiagfajk asdh-jkkWEF0399876ds
​FW: Fw: PCI SSC Invoice Enclosed - fsdfsWEF0399876 fwfggwg
​basically WEF+“all integers till a space or non-integer comes”
​this should not work for
​
​4.FW: Fw: PCI SSC Invoice Enclosed - fsdfsWEFL0399876 fwfggwg
​5.FW: Fw: PCI SSC Invoice Enclosed - fsdfsWEF023WEF0399876 fwfggwg (two WEFs in the same line)\
  1. Hi team ,

    I want to extract “WEF0399876” from below examples -

    FW: Fw: PCI SSC Invoice Enclosed -

  2. aiagfajk asdh-jkk
  3. ds
    FW: Fw: PCI SSC Invoice Enclosed - fsdfs
  4. fwfggwg
    basically WEF+“all integers till a space or non-integer comes”
    this should not work for

    4.FW: Fw: PCI SSC Invoice Enclosed - fsdfsWEFL0399876 fwfggwg
    5.FW: Fw: PCI SSC Invoice Enclosed - fsdfsWEF023WEF0399876 fwfggwg (two WEFs in the same line)\