Regex Help

1. Enter the string that you want to use a regular expression on:


2. Select the elements that you want to extract to run regular expression generator:

u
c u
s
c s
e
c   
r
c r
wuser
var_nameuser
worduser
alphanumericuser
@
c @
l
c l
o
c o
c
c c
a
c a
l
c l
h
c h
o
c o
s
c s
t
c t
wlocalhost
var_namelocalhost
wordlocalhost
alphanumericlocalhost
emailuser@localhost
+
c +
[
     
2
     
      
      
0
     
      
      
2
     
      
3
     
      
      
      
      
      
      
      
      
-
     
0
     
      
8
     
      
      
      
      
      
      
      
-
     
0
     
      
8
     
      
      
      
      
      
      
      
      
]
     
   [2023-08-08]
$
c $
+
c +
p
c p
i
c i
n
c n
g
c g
wping
var_nameping
wordping
alphanumericping
+
c +
1
     
      
      
2
     
      
      
7
     
      
      
      
      
      
alphanumeric   
.
c .
0
c 0
w
d
int
alphanumeric
day
decimal127.0
real_number127.0
.
c .
decimal.0
0
c 0
w
d
int
alphanumeric
day
.
c .
1
c 1
w1
d1
int1
alphanumeric1
day1
month1
decimal.1
real_number0.1
ip_v4127.0.0.1

Regex: .*?(.).*?([2023-08-08]).*?([A-Za-z0-9]+)

3. Generated regular expression program that extracts the selected elements from the entered string:


Fatal error: Uncaught TypeError: Txt2Regex\CodeGen_All::__construct(): Argument #2 ($recognizer) must be of type Txt2Regex\RegexMatcher, null given, called in /home/txtweb/www/web/main/apps/regexhelp/regexhelp.class.php on line 300 and defined in /home/txtweb/www/web/main/apps/regexhelp/codegen/codegen_all.class.php:32 Stack trace: #0 /home/txtweb/www/web/main/apps/regexhelp/regexhelp.class.php(300): Txt2Regex\CodeGen_All->__construct() #1 /home/txtweb/www/web/main/apps/regexhelp/view.main.template.php(67): App\RegexHelp->viewLastRegexCodeOutput() #2 /home/txtweb/www/system/libs/schlix/app_basic.class.php(177): include('...') #3 /home/txtweb/www/web/main/apps/regexhelp/regexhelp.class.php(143): SCHLIX\cmsApplication_Basic->loadTemplateFile() #4 /home/txtweb/www/web/main/apps/regexhelp/regexhelp.class.php(361): App\RegexHelp->viewMainPage() #5 /home/txtweb/www/index.php(158): App\RegexHelp->Run() #6 /home/txtweb/www/index.php(187): Initialize() #7 {main} thrown in /home/txtweb/www/web/main/apps/regexhelp/codegen/codegen_all.class.php on line 32
Error in codegen_all.class.php at line 32: Uncaught TypeError: Txt2Regex\CodeGen_All::__construct(): Argument #2 ($recognizer) must be of type Txt2Regex\RegexMatcher, null given, called in /home/txtweb/www/web/main/apps/regexhelp/regexhelp.class.php on line 300 and defined in /home/txtweb/www/web/main/apps/regexhelp/codegen/codegen_all.class.php:32 Stack trace: #0 /home/txtweb/www/web/main/apps/regexhelp/regexhelp.class.php(300): Txt2Regex\CodeGen_All->__construct() #1 /home/txtweb/www/web/main/apps/regexhelp/view.main.template.php(67): App\RegexHelp->viewLastRegexCodeOutput() #2 /home/txtweb/www/system/libs/schlix/app_basic.class.php(177): include('...') #3 /home/txtweb/www/web/main/apps/regexhelp/regexhelp.class.php(143): SCHLIX\cmsApplication_Basic->loadTemplateFile() #4 /home/txtweb/www/web/main/apps/regexhelp/regexhelp.class.php(361): App\RegexHelp->viewMainPage() #5 /home/txtweb/www/index.php(158): App\RegexHelp->Run() #6 /home/txtweb/www/index.php(187): Initialize() #7 {main} thrown