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 scientific notation
Expression
^[-+]??(\\d++[.]\\d*?|[.]\\d+?|\\d+(?=[eE]))([eE][-+]??\\d++)?$
Description
matche standard scientific notation
Matches
1.2, -1.2, +1.2, 12.34 - 12.34, +12.34, 12.3, -12.3, +12.3, 1.23, -1.23, +1.23, .1 - .1, +.1,1., -1., +1. , .45, -.45, +.45, 56., -56., +56.,2e3 - 2e3, +2e3,12e3, -12e3, +12e3,1e23, -1e23, +1e23,34e12, -34e12, +34e12,1.e2, -1.e2, +1.e2,34.e12, -34.e12, +34.e12,12.e3, -12.e3, +12.e3,3.e12, -3.e12, +3.e12,.1e2, -.1e2, +.1e2,.34e12, -.34e12, +.34e12,.12e3, -.12e3, +.12e3,.1e23, -.1e23, +.1e23,1.2e3, -1.2e3, +1.2e3,54.32e1, -54.32e1, +54.32e1,5.43e2, -5.43e2, +5.43e2,4.3e21, -4.3e21, +4.3e21
Non-Matches
1,1e1
Author Rating: Not yet rated. Wayne.Wang
   Displaying page 1 of 1 pages; Items 1 to 1

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