Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 175
  • Last Modified:

regular expression not matching begining of string

Need a regular expression pattern that does not match the beginning of a string.  For example:

abc123      = no match
1abcdi98r = match
deg0abc    = match
.abc            = match
0
NevSoFly
Asked:
NevSoFly
  • 2
  • 2
  • 2
1 Solution
 
Joshua GrantomSenior EngineerCommented:
Are you trying to find abc anywhere that is not at the beginning of a string?

.(abc)
0
 
ozoCommented:
.abc
0
 
NevSoFlyAuthor Commented:
Here is a more complete picture.  I am trying to find "(" that is not at the beginning of the string and does not have a -, +, /, *,  or ( directly in-front of it.  I do apologize for my original question being so far off the mark.
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
Joshua GrantomSenior EngineerCommented:
can you give us an example of a full string to go with that?
0
 
ozoCommented:
[^-+/*(]\(
0
 
NevSoFlyAuthor Commented:
Thanks, I am assuming that \)[^-+/*)] would work similarly for the end of a string.  Is that correct?
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

  • 2
  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now