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

c# - how to write client side events functions for the combobox items -

exception - Python, pyPdf OCR error: pyPdf.utils.PdfReadError: EOF marker not found -