Home
Tester
Reference
About
Pattern
[A-Z]{2}\d{5}|\d{5}
Input
AB12345
|
AB56789
x
89402
#
AB03925
#
AB12345|AB56789x89402 #AB03925#
Options
Ignore Case
Ignore Whitespace
Explicit Capture
Culture Invariant
Singleline
Multiline
Right To Left
ECMA Script
Start from position:
Max matches to find:
Replacement
Replace matches with...
Click the
context
tab to see replacements.
Regex Info
Table
Context
Split List
4
matches found in about
1
millisecond.
Show Permalink
Permalink
Index
Position
Matched String
0
0
AB12345
1
8
AB56789
2
16
89402
3
24
AB03925
AB12345
|
AB56789
x
89402
#
AB03925
#
empty string
|
x
#
#