Click here to Skip to main content
15,901,205 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
its ma code
var numericReg = new RegExp("^[a-zA-Z,'-'' '\.0-9]+$");
Posted
Updated 18-Aug-17 3:16am

You can use \n for Enter Key


C#
var numericReg = new RegExp("^[a-zA-Z,'-'' '\.0-9\n]+$"); 


Please check following link :
https://help.libreoffice.org/Common/List_of_Regular_Expressions[^]
 
Share this answer
 
Hi

Please refer the following link . Please mark it as answer it resolves your query .

http://www.sitepoint.com/forums/showthread.php?142242-Enter-Button-express-as-regular-expression[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900