Results 1 to 3 of 3

Thread: Regular expression

  1. #1

    Thread Starter
    Lively Member neodatatype's Avatar
    Join Date
    Aug 2002
    Location
    Italy
    Posts
    103

    Regular expression

    Hi all!

    Do you know if exists a way (a function, a program... whatever) that given one or more strings returns the relative regular expression?

    E.g: I have the string "a b c" [and "d e"] and I want back something like "\w\s\w\s*\w*"

    Thanks!
    > NeoDataType.net <

    Try my Free .Net Reporting Tool!

  2. #2
    Guru Yonatan's Avatar
    Join Date
    Apr 1999
    Location
    Israel
    Posts
    892
    Simple!
    Code:
    return ".*";

  3. #3

    Thread Starter
    Lively Member neodatatype's Avatar
    Join Date
    Aug 2002
    Location
    Italy
    Posts
    103
    Originally posted by Yonatan
    Simple!
    Code:
    return ".*";
    Ok, was a stupid question :P

    Cya
    > NeoDataType.net <

    Try my Free .Net Reporting Tool!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width