Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Reg
ular
Ex
pressions
101
Upgrade to Pro
Enterprise
Regular Expression
/
^(\s*)\[\s*(.{12})\s*(.{17})\s*([^\]]*)],?
/
gm
Input 1
New
[ "sortBy", "String", "sort by method" ], [ "sortOrder", "String", "sort order includes ascend and descend" ], [ "count", "Int", "The number of results to return." ], [ "names", "Array<String>", "array of strings represents name" ] [ "sortOrder","String", "sort order includes ascend and descend" ], [ "sortOrder", "String", "sort order includes ascend and descend" ], [ "sortOrder","String", "sort order includes ascend and descend" ], { Name = "sortBy"; Ref = "String"; Description = Some "sort by method" } { Name = "sortOrder"; Ref = "String"; Description = Some "sort order includes ascend and descend" } { Name = "count"; Ref = "Int"; Description = Some "The number of results to return." } { Name = "names"; Ref = "Array<String>"; Description = Some "array of strings represents name" } ^(\s
Extraction
[ "sortBy", "String", "sort by method" ], [ "sortOrder", "String", "sort order includes ascend and descend" ], [ "count", "Int", "The number of results to return." ], [ "names", "Array<String>", "array of strings represents name" ] [ "sortOrder","String", "sort order includes ascend and descend" ], [ "sortOrder", "String", "sort order includes ascend and descend" ], [ "sortOrder","String", "sort order includes ascend and descend" ], { Name = "sortBy"; Ref = "String"; Description = Some "sort by method" } { Name = "sortOrder"; Ref = "String"; Description = Some "sort order includes ascend and descend" } { Name = "count"; Ref = "Int"; Description = Some "The number of results to return." } { Name = "names"; Ref = "Array<String>"; Description = Some "array of strings represents name" } ^(\s