_Added in 1.9.6_
*$regbr([name], N, [&binvar])*
Returns the Nth [[Scripting_Regex|regular expression]] match from [[$regex]], [[$regsub]], [[$regsubex]] or from an [[Scripting_Events|event]].
_Same as [[$regml]]._
*Parameters*
table(ktable).
|*Parameter*|*Description*|
| [name] | A named [[Scripting_Regex
; Search the text for the pattern '(hello)' and print the result. //echo -ag Number of matches: $regex(Hello World, /(Hello)/) match 1 is: $regbr(1) ; Prefix an event with '$' allows the use of a regular expression in the 'matchtext' field which will fill $regbr with the result. on $*:TEXT:/Hello/g:*:echo -ag found $regbr(0) matches, first match was $regbr(1)