regular expression for telecommunications Circuit ID please..
-
lundi 30 juillet 2012 17:34
Guys,
I am looking for regular expression for the below formats..i have been trying for few days ..see if you can help me with this..
“ww.xxxx.yyyyyy.zzzz”. The y values can be anywhere from 1-6 digits. Ww is digit. Xxxx is alphanumeric. Zzzz is alpha.
“mes-xxx-1234-main-st”; where xxx = the customer code. Max 25 Characters.
- Modifié Prakash Athikesavan lundi 30 juillet 2012 17:37
Toutes les réponses
-
mardi 31 juillet 2012 10:21Modérateur
Hi Prakash,
Welcome to the MSDN Forum.
Please try this RE:
\d*\.[\w\d]*\.\d{1,6}\.\w*
I hope this will be helpful.
Best regards,
Mike Feng
MSDN Community Support | Feedback to us
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
- Proposé comme réponse JohnGrove mardi 31 juillet 2012 16:44
- Marqué comme réponse Mike FengMicrosoft Contingent Staff, Moderator jeudi 9 août 2012 15:14
-
mardi 31 juillet 2012 20:52
thanks so much for the help.
I would need reg expression for the below as well. I will really appreciate it.
“mes-xxx-1234-main-st”; where xxx = the customer code. Max 25 Characters.
Thanks.
Prakash Athikesavan Senior Programmer
-
mercredi 1 août 2012 01:35Modérateur
Hi Prakash,
So please try this RE:
\d*-([\w\d]{0,25})-\d{1,6}-\w*
Best regards,
Mike Feng
MSDN Community Support | Feedback to us
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
-
mercredi 1 août 2012 15:04
Thanks so much for the RegEx.
It will be really helpful if you can help me with reg expression for the below one ..
ss:tt:uu:vv:ww:xx, where each letter is a hex digit.
Prakash Athikesavan Senior Programmer
-
jeudi 2 août 2012 06:25Modérateur
Hi Prakash,
Please try this one:
[\da-f]{2}:[\da-f]{2}:[\da-f]{2}:[\da-f]{2}:[\da-f]{2}:[\da-f]{2}
Best regards,
Mike Feng
MSDN Community Support | Feedback to us
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
- Proposé comme réponse JohnGrove lundi 6 août 2012 16:16
- Marqué comme réponse Mike FengMicrosoft Contingent Staff, Moderator jeudi 9 août 2012 15:13
-
mercredi 15 août 2012 19:33
Thanks Mike for the RegEx.
I need reg Ex for the numeric range
for 1-16
1-500
101 through 4094
2-4096
I will really appreciate your help on this.
thanks,
Prakash
Prakash Athikesavan Senior Programmer
-
jeudi 23 août 2012 17:31
Hi Mike,
For my ASP.Net Web application, I have installed Oracle home client 11g. When I add reference to it, I am getting following error.If you know, please let me know about it.
Server Error in '/' Application.
Could not load file or assembly 'Oracle.DataAccess' or one of its dependencies. An attempt was made to load a program with an incorrect format.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.BadImageFormatException: Could not load file or assembly 'Oracle.DataAccess' or one of its dependencies. An attempt was made to load a program with an incorrect format.
Source Error:An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Assembly Load Trace: The following information can be helpful to determine why the assembly 'Oracle.DataAccess' could not be loaded.=== Pre-bind state information === LOG: User = COLE\Administrator LOG: DisplayName = Oracle.DataAccess (Partial) WRN: Partial binding information was supplied for an assembly: WRN: Assembly Name: Oracle.DataAccess | Domain ID: 2 WRN: A partial bind occurs when only part of the assembly display name is provided. WRN: This might result in the binder loading an incorrect assembly. WRN: It is recommended to provide a fully specified textual identity for the assembly, WRN: that consists of the simple name, version, culture, and public key token. WRN: See whitepaper http://go.microsoft.com/fwlink/?LinkId=109270 for more information and common solutions to this issue. LOG: Appbase = file:///C:/Documents and Settings/Administrator/My Documents/Visual Studio 2010/Projects/WebApplication1/WebApplication1/ LOG: Initial PrivatePath = C:\Documents and Settings\Administrator\My Documents\Visual Studio 2010\Projects\WebApplication1\WebApplication1\bin Calling assembly : (Unknown). === LOG: This bind starts in default load context. LOG: Using application configuration file: C:\Documents and Settings\Administrator\My Documents\Visual Studio 2010\Projects\WebApplication1\WebApplication1\web.config LOG: Using host configuration file: LOG: Using machine configuration file from C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\config\machine.config. LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind). LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v4.0.30319/Temporary ASP.NET Files/root/159e40dd/b9d3f39f/Oracle.DataAccess.DLL. LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v4.0.30319/Temporary ASP.NET Files/root/159e40dd/b9d3f39f/Oracle.DataAccess/Oracle.DataAccess.DLL. LOG: Attempting download of new URL file:///C:/Documents and Settings/Administrator/My Documents/Visual Studio 2010/Projects/WebApplication1/WebApplication1/bin/Oracle.DataAccess.DLL. ERR: Failed to complete setup of assembly (hr = 0x8007000b). Probing terminated.
Prakash Athikesavan Senior Programmer
-
lundi 27 août 2012 07:23Modérateur
Hi Prakash,
For such asp.net issue, please refer here: http://forums.asp.net/
Thank you.
Best regards,
Mike Feng
MSDN Community Support | Feedback to us
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
-
vendredi 21 décembre 2012 16:03
Hi Mike Feng,
Thanks for all your input.
I need your input on my following issue with Clipboard (System.Windows.Form.Clipboard).
When I used Clipboard.setdataobject in my local development machine, it worked well.But, when I deployed it in another server for testing people, it gives issues like
Requested Clipboard operation did not succeed.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Runtime.InteropServices.ExternalException: Requested Clipboard operation did not succeed.
Source Error:An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:[ExternalException (0x800401d0): Requested Clipboard operation did not succeed.] System.Windows.Forms.Clipboard.SetDataObject(Object data, Boolean copy, Int32 retryTimes, Int32 retryDelay) +1198 System.Windows.Forms.Clipboard.Clear() +144 System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +154 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3707
Please provide me your valuable inputs on the same.
Thanks,
Prakash
Prakash Athikesavan Senior Programmer
- Modifié Prakash Athikesavan vendredi 21 décembre 2012 16:17

