Regular Expressions 101

Sponsors

Library entries

0
golang

character followed by number

ehehe
Submitted by arahsafari - a year ago
0
golang

Another regex test

Testing for BetterDiscord chat alias plugin
Submitted by anonymous - a year ago
0
golang

Address

Address check
Submitted by anonymous - a year ago
0
golang

use in query db( in () )

int&space to 'int',
Submitted by anonymous - a year ago
0
golang

parse dpserver url

parse dpserver url
Submitted by qianshen - a year ago
0
golang

chia plot

chia plot
Submitted by temple - a year ago
0
golang

Split words in brackets

Split words in brackets
Submitted by ugurakcil - a year ago
0
golang

find email addresses

find email addresses
Submitted by anon - a year ago
0
golang

Jira issue number

Matches and catches Jira issue number
Submitted by anonymous - a year ago

Log Data Parsing

Vote

0

Regular Expression
golang

`
^(# Time: (\d+)\s([^ \n]+)\n)?# User@Host: (\w+\[\w+\])\s@\s\[([\d|\.]+)\]\sId: (\d+)\n# Query_time: (\d+\.\d+) Lock_time: (\d+\.\d+) Rows_sent: (\d+) Rows_examined: (\d+)\n((.|\n)*)$
`
g

Description

Loading markdown...
Submitted by anonymous - 2 years ago