RegExLib.com - The first Regular Expression Library on the Web!

Please support RegExLib Sponsors

Sponsors

Expressions by User

   Displaying page 1 of 1 pages; Items 1 to 1
Title Test Details complex numbers
Expression
^[+|-]?[\i0-9\.]{0,}[+|-]?[\i0-9\.]{0,}$
Description
Check complex numbers syntax according to the forms reported in the matching examples list. Scientific notation is not supported (yet?)
Matches
1.0+i|i|2|i+2|i-1|0.122222i-0.2333|0.2|0.2i|-2-i|-1.0-i|-3.0+1i|-2.0+1.0i|3.0i-2.0i
Non-Matches
1.0E-10|-2-i0.999e-8
Author Rating: Not yet rated. Alessandro Rosa
   Displaying page 1 of 1 pages; Items 1 to 1

Copyright © 2001-2025, RegexAdvice.com | ASP.NET Tutorials