Perl regex - exponential values -


what's regex match decimal number check not contain exponential values?

thanks help.

can match except if contains "e-", "e+", "e-" or "e+"?

the thing cost field, , can contain currency symbols, parenthesis , other characters that

without detailed specs it's not easy task using regular expressions. in opinion, regex inappropriate when know little format of input.


update after op's edit:

can match except if contains "e-", "e+", "e-" or "e+"?

that e.g. ^(?!.*[ee][+-]).*$ (using negative lookahead), matching more like…


Comments

Popular posts from this blog

haskell - Using filter on an item in a list? -

c# - When does PreApplicationStartMethod actually get triggered to run? -

tomcat6 - Exception when stopping container for a with Spring + Quartz + Tomcat web application -