Got more questions? Find advice on: ASP | SQL | XML | Windows
in Search
Welcome to RegexAdvice Sign in | Join | Help

Not empty

Last post 02-25-2007, 2:10 PM by shapper. 2 replies.
Sort Posts: Previous Next
  •  02-24-2007, 9:39 AM 27577

    Not empty

    Hello,

    Is it possible to create a REGEX which check if a expression is empty?

    Thanks,

    Miguel
     

  •  02-24-2007, 4:37 PM 27592 in reply to 27577

    Re: Not empty

    Do you want to prevent 0-length matches? Can you give an example?

    "Some day, and that day may never come, I will call upon you to do a service for me." — Don Vito Corleone
  •  02-25-2007, 2:10 PM 27602 in reply to 27592

    Re: Not empty

    Yes, I want to prevent empty strings using a REGEX instead of using an IF THEN block.

    Thanks,

    Miguel 

View as RSS news feed in XML