www.webdeveloper.com
Results 1 to 3 of 3

Thread: Re.Pattern Help me please!

  1. #1
    Join Date
    Aug 2007
    Posts
    16

    Re.Pattern Help me please!

    Hi,


    How I do a Re.pattern that recognize the following cases:

    For example:

    Economics
    economics
    economics:
    economics;
    economics.
    economics/
    Economics:
    Economics;
    Economics.
    Economics/


    best regards

    Luigi

  2. #2
    Join Date
    Dec 2007
    Location
    Dayton, OH
    Posts
    390
    What is the pattern you are trying to match?

    Look for anything that is Economic* or economic*?

  3. #3
    Join Date
    Aug 2007
    Posts
    16
    Yes. Look for any any word boundary.

    As you said: economics*

    or *economics

    and also ""

    Being "*" any character (number, letter or special characters ($%"!;:,.-=?) and son on.

    At the present time, I have\w+\b\.?,?:?\&?\s)

    "\b" I put today. Any more to improve it?

    Best regards

    Luigi

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles