Tag Archive for: RegExp

Using regular expressions to validate IP address with Delphi XE

Categories:DelphiTags: ,

One of the new Delphi XE features is the RTL support for regular expressions  (unit RegularExpressions), regular expressions provide a concise and flexible means for matching strings of text, such as particular characters, words, or patterns of characters. The follow example shows how to use regexp to validate IP address. program RegExpIP; {$APPTYPE CONSOLE} uses […]

Read more