Hello, I want to provide opportunities for the long-awaited plug-MTA - Regular Expersion (regex). 
The plugin has three functions: 
  
-- Searching for a particular expression 
bool regex_search (string Source, string Pattern) 
-- Testing for the presence of arrays Expressions 
bool regex_match (string Source, string Pattern) 
-- Replace the expression an expression 
string regex_replace(string Source, string Pattern, string replacement)  
-- Information about the plugin 
bool regex_info () 
  
 
Plugin version: 1.2 
Plugin authors: sentike 
https://dl.dropbox.com/u/69743126/%21sentike/mta/rtm_mta_regex.rar 
Change Log: 
for example, we need to check the player's nickname, the format FirstName_LastName.  
So this is a regex that will do it for us. 
  
 if(regex_match("Sentike","([A-Z]{1,1})[a-z]{2,9}_([A-Z]{1,1})[a-z]{2,9}") then 
--Bad login 
end 
  
if(regex_match("Sent_Style","([A-Z]{1,1})[a-z]{2,9}_([A-Z]{1,1})[a-z]{2,9}") then 
--Ok, next steps... 
end 
  
 
Or do we want to allow entry only numbers of a specified length We will use the pattern 
If you find bugs - inform me