问题描述
此代码适用于c#。当我们来到java脚本时,它无法工作。
c#中的正则表达式。
string regExp =" ^(?! (\d)\1 + $)((012345678901 |?!123456789012 | 234567890123 | 345678901234 | 456789012345 | 567890123456 | 678901234567 | 789012345678 | 890123456789 | 901234567890)$)(?! \d {9} $ 000)\\ \\ n \\ n \\ n {12} $"
有人帮助我如何将其转换为JavaScript。
请允许我现在有任何转换工具(c#到javascript)。
提前致谢。
问候,
Ranganath Potluri
Hi,
This code is working for c#. when we are coming to java script it is not working.
regular expression in c#.
string regExp ="^(?!(\d)\1+$)(?!(012345678901|123456789012|234567890123|345678901234|456789012345|567890123456|678901234567|789012345678|890123456789|901234567890)$)(?!\d{9}000$)\d{12}$"
Somebody help me how to convert this into JavaScript.
Please let me now any conversion tool(c# to javascript) is there.
Thanks in advance.
Regards,
Ranganath Potluri
这篇关于将C#正则表达式转换为javascript的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!